System76 is using Rust now for automated testing and firmware flashing. I wrote these projects in rust, and I enjoy using it, can't say much about the other engineers.
Also, Redox OS is awesome :-)
Ask HN: Will Rust ever become a mainstream systems programming language?
281–290 of 291 posts
Re: Ask HN: Will Rust ever become a mainstream systems programming language?
#282Earlier quoted context omitted.
> Type restrictions aren't really a problem Did you ever seen AAA game source code? > You must not have played any Bethesda titles. I've played. Most bugs I've seen were logic errors, doesn't matter which language you would pick.
This is just outright denial. Bethesda titles are rife with segmentation fault galore. Even their most recent titles suffer the same terrible CTDs as all of their previous titles.
Re: Ask HN: Will Rust ever become a mainstream systems programming language?
#283Earlier quoted context omitted.
> I think that language will end up looking a lot more like Rust than you think. I disagree, I think you could pick different way based on Cyclone coupling with some modern static analysis techniques, it would not have so many features as Rust have but it would be less invasive and more "C/D'ish".
> and more "C/D'ish" This I think is where a lot of the pushback comes from. People say want a new C replacement, but some portion of them look at what that actually means, and find they actually want C with a new feature or two because actually learning something new, even new looking, is work. Rust is not C or C++ with a few new features, it's a new language, and some people really want that, and some people are pu…
Re: Ask HN: Will Rust ever become a mainstream systems programming language?
#284Earlier quoted context omitted.
This is just outright denial. Bethesda titles are rife with segmentation fault galore. Even their most recent titles suffer the same terrible CTDs as all of their previous titles.
I am talking from my experience, I do not recall any segfaults in fallout 4 and elder scrolls oblivion.
Re: Ask HN: Will Rust ever become a mainstream systems programming language?
#285Earlier quoted context omitted.
There's already a few games written in Rust on Steam's Greenlight program. SHAR was even greenlit. Stating that it isn't clear that it would work out is basically stating that you are choosing to ignore that it has and is being done successfully. > stop making grand, unfounded assertions about what Rust is good for You are basically stating that everything that I have done in Rust is a lie. I will not stand for that.
There are vast gulfs between Steam Greenlight candidates and AAA. Nobody here, least of all me, has claimed that Rust cannot be used for any game at all, nor have they disputed your own experiences. Grow up.
> I would love to use Rust in games (I currently work in games) but it's not clear that it would work out.
There are many contradictions in your posts on here.
Re: Ask HN: Will Rust ever become a mainstream systems programming language?
#286Earlier quoted context omitted.
>* Games can't get by with just malloc-style memory management- and while it's easy to mess up, C and C++ handle arenas/pools/etc with far less friction than Rust, where you'd want to package up every little pointer thing behind a safe API. That's a good tradeoff here because the bugs are mostly harmless and easy to track given the constrained environment. I don't see why this isn't fixable? It's just a lack of libra…
> memory management > It's just a lack of library support AFAICT. Libraries could help, but game often have a lot of one-off memory stuff too that you can't put in a library and you can't do in safe Rust. Maybe there are some more creative solutions that nobody's had to come up with yet because C makes it so frictionless. > error handling in Go is at least as bad The thing is that style lets you ignore errors in case…
The contradiction in your logic here is that if you don't want to handle errors, then don't design your functions to return errors. In addition, many of the larger time game studios write and use their own standard library, so they could devise an efficient 'game stdlib' where they don't have to pay such costs.
Re: Ask HN: Will Rust ever become a mainstream systems programming language?
#287Earlier quoted context omitted.
There are vast gulfs between Steam Greenlight candidates and AAA. Nobody here, least of all me, has claimed that Rust cannot be used for any game at all, nor have they disputed your own experiences. Grow up.
You clearly don't read what you write. > I would love to use Rust in games (I currently work in games) but it's not clear that it would work out. There are many contradictions in your posts on here.
Re: Ask HN: Will Rust ever become a mainstream systems programming language?
#288Earlier quoted context omitted.
Like... Cobol... 'cause all those reasons are vanishing and will vanish.
Those who need Cobol use them(Core banking applications). Rust is better than C++, but it's not extremely better than C++.
Re: Ask HN: Will Rust ever become a mainstream systems programming language?
#289Earlier quoted context omitted.
I'd recommend taking a look at Common Lisps condition system, which does exceptions right. The most important feature is that catch blocks are executed before the stack is unwond, providing the ability for a handler to signal back to the context where the error occurred how it should be handled. It's sad that no other languages implement this and instead simply decide that exceptions are bad.
Fun trivia: Rust had conditions! Nobody used them, so they were removed.
Re: Ask HN: Will Rust ever become a mainstream systems programming language?
#290Earlier quoted context omitted.
Fun trivia: Rust had conditions! Nobody used them, so they were removed.
That sounds short-sighted to me. Even in Lisp restarts (i.e. the feature that allows a handler to communicate back to the point where the exception was thrown) aren't used that often, but when they are, they are incredibly valuable.
The code expander has an entry point which allows the caller to be informed about what variables and functions are free in a block of code. The implementation of this entry point works by intercepting warning exceptions about unbound symbols, and accumulating them in in lists, which are then returned to the caller.
This is a useful thing which reduces the need for users to write their own code walker in certain kinds of advanced macros.