Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bjz_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
61 ms
·
601.
▲
by
bjz_
13y ago
Nimrod is a great language, but it has different goals to Rust. You get better expressiveness, and cleaner code, but you don't get the huge benefits of Rust's static type system. It depends on which you value more - I think there
602.
▲
by
bjz_
13y ago
Yeah, I will admit I am not an expert in exceptions, so I might have been incorrect in my response. I'm sure there would be better people to talk to on the #rust. Alternatively you could ask on the mailing list or /r/rust.
603.
▲
by
bjz_
13y ago
> If you declared most of the mutable types const (and the use cases for a non-const unique_ptr are few) you can avoid most of these issues Mutability in Rust is perfectly safe because of the static checks built into the type system – th
604.
▲
by
bjz_
13y ago
Rust's type system eliminates the need to test for whole classes of bugs, because they are statically checked for at compile time. This means that tests can be more focused on logic errors rather than standard book keeping. If you look
605.
▲
by
bjz_
13y ago
> you need the call to free So how does ATS enforce memory safety? With Rust you have a bunch of library types that you can reuse that abstract away from the memory management for you. The types make sure you don't screw up. Unfortu
606.
▲
by
bjz_
13y ago
> If you use it without the GC then verbosity increased because you need to add calls to free memory The issue is that is the default mode I would like to work in. Rust is designed to make that the natural mode of working, rather than th
607.
▲
by
bjz_
13y ago
Thanks! Yeah, it's hard when you haven't used a language all that much to judge. I wish the sold themselves better though. The website is atrocious for folks wanting to get started with some code. :(
608.
▲
by
bjz_
13y ago
I agree with Steve here - in this instance a catalogue of code examples would be much a great deal compelling than natural language explanations.
609.
▲
by
bjz_
13y ago
I think it will most likely be smaller devs and indies who use Rust for game dev initially. Once demand grows, hopefully there will be better cross platform support in the future. Thankfully Rust emits LLVM IR, so that will make expanding t
610.
▲
by
bjz_
13y ago
No worries, it was a good question! I would highly recommend hopping on the IRC if you'd like some more information or have a chat. The community is very active and friendly. You can see the list of channels here: http://sta
611.
▲
by
bjz_
13y ago
pcwalton mainly works on web browser development (Servo), which whilst sharing some goals with game development, also differs in some respects. Although online security is more and more important in games these days, the real appeal of Rust
612.
▲
by
bjz_
13y ago
- Fine grained control over allocation whilst maintaining memory safety (stack, heap, RC, GC, or roll your own) - No null pointers (with an Option type that compiles down to a nullable pointer) - Data race free concurrency - Zero cost abstr
613.
▲
by
bjz_
13y ago
I don't foresee big, established C++ code bases like the Unreal Engine being re-written from scratch, but once Rust reaches 1.0 it will definitely be a very compelling choice for new projects. It will start with the side-projects and i
614.
▲
by
bjz_
13y ago
> I don't think it will happen with Rust until it becomes more stable Indeed. Most of the trail blazing work is being done by professional game devs in their spare time, hobbyists, indies and students who are willing to endure the p
615.
▲
by
bjz_
13y ago
Indeed. I love the idea of ATS, but it seems like it would be a challenge to wrangle with. Whilst Rust isn't a flexible and powerful as ATS, it seems to be much easier to handle at the moment.
616.
▲
by
bjz_
13y ago
> I should probably edit the tutorial to that effect. Yes please do. Idris is a lovely language for bringing dependent types closer to the realm of production code, but giving people false hopes is a little cruel :)
617.
▲
by
bjz_
13y ago
'Dependently typed systems programming' was something that really excited me when I first learned of Idris, but it seems that they have backed down from that claim. Indeed, the home page now reads, "Idris is a general purpos
618.
▲
by
bjz_
13y ago
The Google style guide could help explain why the Go team thought that their language would make more of an impact in C++ land than it actually did.
619.
▲
by
bjz_
13y ago
That's because C++ is an approximate superset of C, an so it inherits all of that baggage as well. This is why we need new systems programming languages like Rust, designed for the 21st century with the benefit of hindsight.
620.
▲
by
bjz_
13y ago
I love the whimsy present in some of these, especially in `flip-open perspective`.
621.
▲
by
bjz_
13y ago
If carbon emissions were priced, then maybe these kinds of technologies would be more viable.
622.
▲
by
bjz_
13y ago
If you are ok with keeping up to date with the some changes to the language and libraries, then it's great for hobby stuff (that's what I'm using it for). I wouldn't be using it in production just yet, however (not that
623.
▲
by
bjz_
13y ago
I would hope he would be able to maintain a good position there, he seemed to be a very valuable fellow to have onboard - he did create JavaScript (for better or for worse, but still - 10 days to create a language is insane). And as the C
624.
▲
by
bjz_
13y ago
Have no fear asking newbie questions on the IRC, we were all there once :). #rust also has a reputation for being quite friendly and welcoming to new folks.
625.
▲
by
bjz_
13y ago
> I've previously gone so far as to read some of the compiler implementation The guys on #rust-internals are super nice and can help you a great deal if you are interested. But tbh, we really need more contributions with respect t
626.
▲
by
bjz_
13y ago
Tracy Harms did a talk at Strange Loop about J: http://www.infoq.com/presentations/j-language
627.
▲
by
bjz_
13y ago
Even aquisitions from those companies would have been met with disappointment. I think folks were hoping for Oculus to stay independent.
628.
▲
by
bjz_
13y ago
Awesome! Will have to delve into this later... a formal proof is going to be super important for Rust.
629.
▲
by
bjz_
13y ago
Most of the changes now are to refining and fleshing out library APIs. The RFC process is also being refined to make more significant changes more disciplined as the language moves towards 1.0: https://mail.mozilla.org/piper
630.
▲
by
bjz_
13y ago
> https://github.com/mozilla/rust/pull/12815 - even if that's not a major change grammatically, is a huge change linguistically. They were renamed because we were constantly forgetting the differenc
More ›