Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is there any widespread concern over lack of unsigned int native types?


Not really. With valhalla they can be user-implemented efficiently, although without syntactic sugar like +.


Does that mean addition would look like

  Uint32 a,b,c;
  c = a.plus(b);
in what you describe, once project valhalla is complete?


Well, that will be available as a basically zero-cost abstraction. But I haven’t seen more specific mention of it in the mailing lists/design proposals - they definitely didn’t want to add a new primitive type, but perhaps if they manage to heal this rift between objects and primitives and it will only be add syntax-level complexity, they might go for it.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: