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

I learned golang and rust, and I can say that both have significantly different concepts from other "conventional" OOP languages that it's not just learn new syntax approach.

it's of course very subjective, but for me golang feels more magic, especially with importing GitHub repositories like local files.

The easiest language is of course the one you already know.

i would also argue that it's easier to write bad go code (I personally wrote some of it while learning) in rust usually if it compile and your are not using unsafe, it's at least ok quality and clippy is great with guiding you how to improve your code.

to be fair JavaScript also is weird and different than OOP languages but from some time it tries to feel more traditional with classes and this handling.

wasm is already fairly performant in comparison to native code, it might lack in come cases like simd (there are extensions already, but I'm not sure about adoption) but generally it's only about 20% slower than native binary.

I'm not sure how much wasi is practical for cli tools, but using was for plugins to allow any language someone might be comfortable with seems like no-brainer to me (also isolation will allow you to control potential memory leaks and crashes so your application will not get corrupted or anonymously destabilised)



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

Search: