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

I love this! The docs are really good and I am looking forward to playing with this.

I think I disagree a little bit about the value of type and lifetime annotations, I think if I used this, I would put a lot of [sig ..] into my code.

I think having a similar syntax for lifetimes would be valuable so I as a developer can make sure that some value is not 'static (or has the lifetime of some other object that lives as long as my program). Basically I want to ensure that my values are actually dropped at some point.

One thing the docs could be more explicit about is where this runs. I saw that it has a Wasm backend, but can I also compile this to native code? Do the effects require some runtime (and I don't mean something like the JRE, more like what Go has)? Maybe I missed this, though.

Anyway, I hope I get to play with this soon!



The code can be either interpreted or compiled to a binary.




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

Search: