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

I like to know whether this language support these stuffs.

- C++ level of const correctness or a simple way to make immutable data structure. Or immutable view of full data structure.

- Explicit symmetric coroutine with safe data sharing machinery. I mean something like Erlang process or Goroutine.

- Any meta-programming facility such as macro or template.



1. Yes 2. No 3. A bit. Not macros or templates but nonetheless you can do some type of meta programming with reflection.


Do you plan to add macros or some other kind of compile-time metaprogramming? I think it's important to have that, since reflection is at odds with obfuscation and also introduces runtime overhead compared to compile-time code generation.


Many ideas of this sort are flying around, but we postpone the decision to some time after 1.0




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: