5 ms·
Three rust articles on the front page? Not complaining, it definitely seems like the popularity has really jumped up in the last three months.
by adamnemecek 10y ago
Three rust articles on the front page? Not complaining, it definitely seems like the popularity has really jumped up in the last three months.
- hacker_9 10y agoRust and Go are always on the front page.
- rch 10y agoAlso Python, JS frameworks, CLR and JVM languages, C/C++, LLVM, notably obscure languages... It's like there's some kind of theme.
- lacampbell 10y agoIf someone makes a Go compiler in Rust hacker news will have to shut down. Game over, there is nothing left to do in computing.
- flamedoge 10y agoRust compiler written in Go?
- slowmovintarget 10y agoClojure-on-Rust Granted, it would require writing a garbage collector in Rust...
- saghm 10y ago> Granted, it would require writing a garbage collector in Rust... Why would that be a problem? There are compilers written in C that implement garbage collectors. Now, writing a garbage collector for Rust, that's another problem entirely
- Manishearth 10y ago> garbage collector in Rust.. http://users.cecs.anu.edu.au/~steveb/downloads/pdf/rust-ismm-2016.pdf http://users.cecs.anu.edu.au/~steveb/downloads/pdf/rust-ismm... > Now, writing a garbage collector for Rust, http://manishearth.github.io/blog/2015/09/01/designing-a-gc-in-rust/ http://manishearth.github.io/blog/2015/09/01/designing-a-gc-... (mostly a toy GC, but some folks are using it) In the future we may have http://manishearth.github.io/blog/2016/08/18/gc-support-in-rust-api-design/ http://manishearth.github.io/blog/2016/08/18/gc-support-in-r...
- saghm 10y agoDuring my senior year of college (which ended last spring), I worked with two other students on implementing a server-side JavaScript interpreter in Rust. One of us, a grad student (not me!), wrote the garbage collector for it (https://github.com/rustoscript/french-press https://github.com/rustoscript/french-press). We didn't end up finishing the entire language, but we got a sizable chunk of the language features implemented, and more than enough to know that Rust is very well suited to writing programming languages in, including garbage collectors. By far, the most complicated component of getting the garbage collector right was dealing with closures, but that's mostly because JavaScript is a very "unique" language, to put it nicely. > In the future we may have http://manishearth.github.io/blog/2016/08/18/gc-support-in-rust-api-design/ http://manishearth.github.io/blog/2016/08/18/gc-support-in-r... I read that back when you first posted it, which is exactly what came to mind when I was writing my comment. At least to my naive understanding, implementing a garbage collector for Rust is several orders of magnitude more difficult than merely implementing one in Rust.
- Manishearth 10y agoThe JS interpreter is pretty cool! We've had problems with closures before in Servo, I know that pain :) > implementing a garbage collector for Rust is several orders of magnitude more difficult than merely implementing one in Rust. Well, I mean it depends on what you're aiming for. Making a safe optional GC in Rust isn't too hard; rust-gc exists and is not very complicated. Making the compiler support arbitrary pluggable GCs is trickier. GC algorithms themselves can get so complicated that the state of the art research probably eclipses whatever has been done with rust-gc and similar "GCs for rust" so far. If you want a GC for Rust that contains a world-class collection algorithm the complexity is additive but the source of most of the complexity isn't the "for Rust" part, it's the "in Rust" part (A GC for rust will also typically be in Rust). But also "optional" GCs like those that would be useful in Rust haven't been explored much either, so world class algorithms may not even make sense in this case. It's ... an interesting set of problems, and very hard to make judgement about what is difficult :)
- lenkite 10y agoThere is a lisp dialect on rust https://github.com/murarth/ketos https://github.com/murarth/ketos and it doesn't need GC!
- solidsnack9000 10y agohttps://github.com/yberreby/rgo https://github.com/yberreby/rgo "A Go compiler, written in Rust."
- swsieber 10y agoAs far as I know it's because the Rust is filling in the gaps - two of the three articles are about relatively new features. And the next Rust release should close the stable/unstable gap by stabilizing some macro/compiler plugin stuff.
- pekk 10y agoIt is a marketing push. Marketing pushes don't have to correlate to massive improvements in the product.
- Manishearth 10y agoCertainly not a coordinated marketing push. All of the recent Rust posts on HN don't come from any official venues. It's just random community members writing about Rust, and HN upvoting it. There was a flurry of Rust posts about "why Rust" near the end of the year, which was somewhat "coordinated". In the sense that Steve wrote a post and this triggered a chain reaction where all kinds of folks wrote about related topics. Completely unintentional, just happened. Most of those posts did not make it to HN.
- coldtea 10y agoIt's just random people discovering Rust due to increased popularity and posting about it (which has a circular effect). No marketing plan involved, and nobody coordinates these posts.
- lacampbell 10y agoTBH it's getting a bit much at this point. The rust advocates here (not sure if they're paid or just fanboys) really need to tone it down. The hyperbole, and the constant "rust solves this unrelated problem, and has no flaws!" is beginning to grate. I've coded in it a bit and it seems like cool language, they get a lot right and have some new and interesting ideas. But it's not a panacea (or indeed "salvation" as one recent blog post put it) for everything wrong in software. We don't need to all immediately re-write everything we do rust. Not everything new needs to be written in rust. And your re-writes of programs that have already been written in other languages and work well aren't that compelling. If you like rust, then write some new, interesting and useful software in the language, where what language it's written in isn't the main selling point. For example, I love the look of this http://nickel.rs/ http://nickel.rs/. TL;DR - the corrosive nature of rust advocates on HN is starting to eat away at my patience, and I am tired of having to galvanize against them and their absurd claims.
- burntsushi 10y agoYes, we had a recent explosion of marketing materials that went a little over the top. That's OK. It happens. I don't think anyone really believes Rust solves every problem, so I think you're attacking a straw man. There are plenty of trade offs at play. But the problems we believe it does solve makes it exciting for a lot of us (and for perspective users).
- adiabatty 10y agoPlus it's not really the fault of Rust developers if https://blog.ntpsec.org/2017/01/03/getting-past-c.html https://blog.ntpsec.org/2017/01/03/getting-past-c.html gets to the front page; that's not really marketing material for the language.
- hacker_9 10y agoAs a counter, stuff is posted to new every minute, but 90% of it doesn't reach the front page. In order to reach the front, you often have to do make up silly titles such as the ones you mentioned, which cause an emotional response (good or bad, as long as it gets clicks). HN also has a problem with brigading, which is why you see some utterly random articles make it to the top too. Sadly not much you can do about this, but you could try browsing /r/programming or elsewhere instead.
- ruster 10y agoand what's the argument here?
- flukus 10y agoQuite a few of us made learning rust our new years resolution in recent threads.
- anamoulous 10y agoMore Rust discussion and less "future of media/ad supported businesses" discussion works for me.
- flukus 10y agoNot to mention fake news and politics in general.