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

How will undefined operations change with your new layer of abstraction?

Anyway, you are really claiming that a sandbox capable of running C programs will solve more problems than writing your code in Rust?



I am inferring languages like Rust are not a replacement, but rather focus on a different problem domain already addressed in higher level languages.

Its not a complete waste of time, but I have yet to see a use-case only Rust features could better achieve. I am not smart, so may have missed something important. =)


> languages like Rust

Hum... If you know other languages similar to Rust, I'm curious to know them. Maybe there is something better out there, but AFAIK, the closest thing in existence is C.

> a different problem domain already addressed in higher level languages

Things like device drivers and embedded software. It's also what people push into submission when they want high performance software, but this is always a hard thing to do.

I do really not recommend you to use Rust if a higher level language solves your problem.

> I have yet to see a use-case only Rust features could better achieve

It helps achieving things like making sure your GPU driver fucking works, instead of doing what the nvidia driver does.

Of course, this article is about a different way of making sure it works. One that requires a lot more of work, but can provide some assurances that Rust can't. It is also easier to apply over Rust than C, but neither are the best target for it.


"making sure your GPU driver fucking works"

Well I did notice how nVidia left out the part that the CUDA C API had a known bug that would crash on exit due to a de-allocation bug for years. Thus, C++ became the de facto interface for their GPU library.

All code is terrible, but some of it is useful (except rust and VB). ;)




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

Search: