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

What I would like to see is a language that as easy to learn & use as python/ruby/etc, but based on rust and rust-like, using rust libraries if at all possible, with garbage collection, so one can have an easy entrypoint for anyone who wants that, and if ever needing the full performance etc of Rust, change a compiler switch (or something) and the full Rust kicks in.

In other words, a step-by-step developer growth process from simple to hard, maybe 2-4 levels, and you never have to throw away what you already learned and start over, when going to the next step.



In D you can do everything with automatic memory management (garbage collection) if you like. It does make for quick development.

You can also do explicit memory management, which of course takes more programmer effort.

It turns out most programs wind up using a mix of the two, as GC is better for some things, and explicit is better for others.


Thanks, that is interesting. I mentioned Rust because of its broader use and apparent growth trajectory. Ie, to have the likeliest most uses in the most places, with minimal re-learning of a new language to work on a new codebase. Or to increase the odds when possible, at least (scripting but also Linux kernel use, etc).

I will keep D more in mind though...is it on openbsd? (Edit: I see it is probably at least there via gcc, at least.)


D support for OpenBSD via GCC and dmd should be ok. Brian Callahan is a name to look for in the blogosphere.

Also the D in gcc is full fat D, no "at least" required.


ps: to clarify: I am learning rust, but in the long run it seems it could save time for the world overall, if there were something to recommend to others, say, members of a team who want or need something easier, but is easily transitioned to full rust.




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

Search: