I find Zig a language wuth very good WASM support out of the box and it is mostly imperative in nature.
It is currently pre 1.0 and has some rough edges.
Software engineering, Rust, Zig, embedded
I find Zig a language wuth very good WASM support out of the box and it is mostly imperative in nature.
It is currently pre 1.0 and has some rough edges.
Neovim maybe? 😉
Thanks for your reply. This extends “smashing the stack for fun and profit” in an important way.
That’s what they all say 😉
Jokes aside: have fun.
This is an old paper that it explains the basics: https://www.eecs.umich.edu/courses/eecs588/static/stack_smashing.pdf
Today there are a lot of mitigations where the steps of the paper don’t work anymore, but the general ideas should be still valid. I’ll hope you find the example you are looking for in there.
On another note: What is your intention? And can I participate 😈
Maybe AI can help here, since it is trained on stack overflow and co. ;)
What are your goals?
If you want to learn another language just for the fun of it (the best reason) than learn both.
Of you want to improve your tool set to be able to land a job, then there is no good answer. Probably some other high level language like Python, Java, JavaScript, C#. Etc.
Also: Zig bay be easier to get started when coming from C, because it is mostly imperative.
Rust introduces concepts from functional programming. This could be interesting for you, of you don’t have any experience in functional programming to get in touch with other programming styles. Or not, of you explicitly don’t want to learn such things.
I use both languages, and I enjoy both. Shameless plug: I’ve written a blog post ~ 2 years ago what I like about each language: https://zigurust.gitlab.io/blog/posts/three-things/