19 ms·
Rust Foundation: Hello, World
- Lapz 6y agoCongrats to everyone involved, I started learning rust on a bus 4 years ago and its amazing to see how far the language has come
- rvz 6y agoThere you have it. Right decision & direction here. We'll see how this goes for the Rust programming language.
- nynx 6y agoMay this be the beginning of a long, interesting, and productive future.
- lvass 6y agoAre there plans for waiving the relevant trademarks? I know many people are fine with them, but seeing how the FSF directory lists it as an "anti-feature" is a bit disheartening.
- rattray 6y agoI love the FSF, but frankly as a user, I'm glad that not just anybody can claim to be Rust. Especially so now that the trademark is controlled by a dedicated nonprofit.
- lvass 6y agoBut how could anyone reasonably claim they are Rust, particularly given the large reach of it's online services, like docs, crates.io and rustup? Those trademarks are very unlikely to produce anything except another round of debian's icy rebrands.
- ChrisSD 6y agoRust is already in Debian's repository. The trademarks haven't been an issue at all.
- lvass 6y agoIt seems no one had to rebrand Rust yet, but can you guarantee this will always be the case? Firefox was fine in debian until 2006.
- ChrisSD 6y agoBut why? Python has been going for decades without issue. https://www.python.org/psf/trademarks/ https://www.python.org/psf/trademarks/
- a1369209993 6y agoNo, Python is dead because the maintainers decided to create a new, defective, language with a intentionally-misleading name, and then threatened trademark lawsuits against anyone who kept maintaining the original. That sort of thing is (I assume) why lvass was asking about trademark waivers in the first place.
- Daho0n 6y agoThe most used programming language is dead? Please stop the FUD. Python is doing great. Calling it a new language is insane. There's way less difference than in early Cpp versus late Cpp.
- nojito 6y agoMozilla Foundation != Mozilla Corporation. Which is why there was an issue with branding.
- dralley 6y agoNo, there was an issue with branding because Debian was diverging too much from mainline Firefox, and not keeping up to date with security patches. Not some corporate malintent. The way that was resolved was with Firefox LTS.
- blacktulip 6y agoGenuine question: what is Huawei's role in Rust Lang? It is in the founding member companies list.
- akritrime 6y agoDisregarding all allegations, Huawei is one of the bigger tech companies and is one that has its finger in every pie, especially across domains where rust is advertised as a better alternative to incumbent C/C++. I can see why they are on the board.
- oytis 6y agoPeixin Hou seems to be a director on Linux foundation too. Probably responsible for corporate lobbyism in OSS in general.
- hobofan 6y ago"Huawei uses Rust to develop a real-time OS for IoT devices, and in the StratoVirt project, a high-performance virtualization platform. According to engineers at Huawei, the company organizes routine Rust training and evaluation activities to encourage its large number of C/C++ developers to write safer code." https://www.infoq.com/news/2021/01/rust-china-conf/ https://www.infoq.com/news/2021/01/rust-china-conf/ ----------- I think they've been a big user of Rust in China for some time now, though I'm not aware of any big technical contributions to the language (or the core ecosystem) by them. In a similar vein, I find it a bit surprising that Facebook (or whatever they rebranded Libra to) is not part of the foundation. I think they are the only company that was interviewed when Rust's usage/usability experience in big companies was evaluated, that is not part of the foundation.
- gabereiser 6y agoYou love to see it. Huge congratulations to everyone involved, to the rust maintainers, community, and admins.
- mhh__ 6y agoAs a D foundation employee, good luck have fun
- malwrar 6y agoAwesome news! Rust is easily the best programming experience I've had--the language feels incredibly well thought out, common tooling like doc generation and dependency management are included with the language, and the compiler takes full advantage of language features such that my editor's linter is able to detect most mistakes I make and the language itself guards me from doing anything obviously unsafe. I thought the rewrite-everything Rust people were annoying and that turned me off initially, but ever since getting involved with the community I've found that it's full of lots of very passionate people working on a stunning variety of interesting new projects. You really feel like you're on the ground floor of the next generation of systems programming languages, enough to where I've even considered replacing my habitual use of Python with Rust considering how easy it is to write. Seriously, it's worth your time to explore. If you have a spare evening and want to be enchanted, highly suggest giving the Rust book a gander: https://doc.rust-lang.org/stable/book/ https://doc.rust-lang.org/stable/book/
- haskellandchill 6y agoIt’s booming. I’m considering making Rust or Haskell a requirement for my current remote job search. And given that I have no strong salary requirements it’s actually going to work, could not have done this 4 years ago.
- manishsharan 6y agoserious question : would you recommend Rust for CRUDdy type of web applications -- stuff where mostly you are firing off prepared statememts at a SQL db and then applying business logic to result set. This is what most J2EE apps do currently.
- akritrime 6y agohmm, no. While compile-time type check[0] for SQL queries changes your whole experience of how you do SQL, at the end of the day creating an webapp in rust is not as easy or mature as any of the other languages more suited for the task. If you want to learn, then its fine. But if you are newish to rust and want to do your next CRUD app at work in rust, I don't think its going to a good experience. [0]: https://github.com/launchbadge/sqlx https://github.com/launchbadge/sqlx
- steveklabnik 6y agoHey folks! Normally, I am all over these threads answering questions, but I am not on the foundation board and did none of the real work to get this going! The foundation members are unlikely to comment on Hacker News, so if you have big questions you want answered, contacting them via the address on the site is the right way. Personally, I am very excited that this is happening, and really looking forward to the future here.
- jdright 6y agoI would like to raise awareness to a tiny detail: > February 9th, at 4pm CT. When using local time zones we should strive to always also add the equivalent GMT time to a global audience - even if this audience will not participate in the meeting, it is good to have an idea of when that is actually happening without needing to go through a timezone converter.
- steveklabnik 6y agoAs I said, not involved, so you should submit this feedback to them. I can try to pass it along, but there's no reason to have me as a middleman.
- chc 6y agoI don't think I understand. Those are both just time zones, right? So knowing what time it happens elsewhere requires a conversion no matter what time zone you gave originally, doesn't it?
- cristoperb 6y agoI think the idea is that many people know the offset of their timezone from GMT/UTC, so they wouldn't have to look it up, but nobody can be expected to know their offset from any arbitrary other timezone.
- lilyball 6y agoOffsets from GMT/UTC are annoying when you have to deal with DST though, as it can be confusing to remember which offset applies at any given point in time.
- lacker 6y agoIt's a little concerning to see Huawei involved so closely in Rust, given the concerns about them silently including spyware in their products to give access to the Chinese government. I don't think I'm being a total conspiracy theorist; for example the UK, US and Sweden all ban Huawei equipment from their countries' mobile phone networks. Hopefully since this code is all open source there is sufficient scrutiny to avoid any shenanigans.
- theaeolist 6y agoAs far as "concerns" go these are not even allegations, these are rumors and slanders. There has never been even one shred of evidence that Huawei have done that.
- roca 6y agoThe issue not whether Huawei have done that, the issue is whether they will if asked. https://www.cnbc.com/2019/03/05/huawei-would-have-to-give-data-to-china-government-if-asked-experts.html https://www.cnbc.com/2019/03/05/huawei-would-have-to-give-da... > "any organization or citizen shall support, assist and cooperate with the state intelligence work in accordance with the law” > “when the state security organ investigates and understands the situation of espionage and collects relevant evidence, the relevant organizations and individuals shall provide it truthfully and may not refuse.” Furthermore, the CCP has a long track record of detaining anyone they want for whatever reason they choose. The idea that Huawei's executives could resist such an order is ludicrous. However, it seems likely that in the case of Rust, Huawei's ability to anything nefarious would be negligible.
- remexre 6y agoAnd, Rust already has a way of avoiding trusting-trust attacks via mrustc.
- crazypython 6y agoThe board's vote seems to be heavily biased in favor of large corporations, with half the seats for them, 2 for the community, and 3 for "project areas." Contrast this with the governance of GCC, which has all of them as community members or project areas.
- pdpi 6y agoI can't find much in the way of Rust credentials for the rest of the members but, looking at their profiles, Nell (MS's representative) used to manage crates.io while at Mozilla, and Lars (Google) used to manage the Servo team. While they are technically representing corporate interests, they're also heavily invested in the community.
- emiliocobos 6y agoBobby (the Mozilla rep) was also heavily involved with Servo and Rust-in-Firefox, see e.g. https://bholley.net/blog/2017/stylo.html https://bholley.net/blog/2017/stylo.html
- pornel 6y agoThat doesn't mean much long term. If they disagree with the corporations they represent, they will be replaced.
- hobofan 6y ago> Contrast this with the governance of GCC The equivalent of that would be the Rust teams[0] as far as I can tell, which will still be the governing body of all development, and won't be replaced by the Rust foundation. [0]: https://www.rust-lang.org/governance https://www.rust-lang.org/governance
- ChrisSD 6y agoThe goal of the foundation is to work as a bridge between the Rust teams and the corporate world (e.g. sponsorship, licensing, etc). As the blog post notes, the actual development of the language is fully open and is comprised of RFCs and the like which allow anyone to contribute. It's the core team who oversee this process, not the foundation. In short the foundation works for Rust, not the other way around.
- Vinnl 6y agoRelated: https://blog.mozilla.org/blog/2021/02/08/mozilla-welcomes-the-rust-foundation/ https://blog.mozilla.org/blog/2021/02/08/mozilla-welcomes-th...
- fireeyed 6y agoHuawei ?
- brabel 6y agoMicrosoft?? Google?? Don't they already have their own languages?!
- mirekrusin 6y agoMaybe they need to rewrite them in rust?
- dodobirdlord 6y agoRust, Go, C#, and TypeScript doesn’t overlap all that much.
- Daho0n 6y agoWhat is the question? Huawei is a great tech company no matter if there's any truth in the accusations levelled upon them by the US. They are are pretty big user of Rust and are even co-organizer of Rust Events, like Rust China Conf. I see it as a good thing that it isn't the usual FAANG being behind it.
- mkl95 6y agoGreat news for Rust, congrats
- nadllik 6y agoSame, congrats.
- mssundaram 6y agoA win for Rust for sure, but it also seems like a loss for Mozilla.
- ChrisSD 6y agoIn what way?
- staticassertion 6y agoMozilla was sort of de-facto the steward of the language up until recently. They stupidly fired the teams behind their most promising R&D project and lost any semblance of control over it.
- ChrisSD 6y agoNo, Rust has been independent since Rust 1.0. Mozilla only provided free legal advice (+trademarks, etc) and employed some team members but they didn't have control.
- hobofan 6y agoNot hard control, but I think they had a pretty big impact on where Rust headed (not in direction, but prioritization), even in the 1.x days, though more in core ecosystem than in the language itself. E.g. I doubt Rust would be in it's dominant position regarding WASM, if it weren't for Mozilla.
- ChrisSD 6y agoThat was only because they had engineers working on it. The foundation changes nothing in that regard. If Mozilla were to hire engineers to work on bringing Rust to a new platform then it would have the same effect now. I don't want to downplay Mozilla's many contributions to Rust in any way but I also acknowledge they worked hard to ensure Rust operated independently of any organisation, including themselves.
- 6y ago
- raphlinus 6y agoI'm really happy to see this happen. I'm also really thrilled to see Lars Bergstrom on the board, and am excited about taking Rust farther both at Google and across the industry. Rust is evolving from being centered at Mozilla to being a true community and collaboration between many different groups, including big companies, so I think a well-supported foundation is key. I'm very hopeful for the future.
- Daho0n 6y agoInteresting. >"[]... Director of Engineering at Google, working on Android Platform Programming Languages. Previously, I was a Senior Director of Engineering at Mozilla, working on Virtual and Augmented Reality." https://www.lars.com/ https://www.lars.com/
- isaacimagine 6y agoYes!
- yudlejoza 6y agoAs a C developer, after getting sick and tired of hearing about Rust everywhere, I decided to do a bit of assessment in terms of code-size complexity. I heard of ripgrep, an amazing twenty-first century revolution that beats grep in the dust. I have never seen grep source code. I told myself, if I download ripgrep-on-Rust and grep-on-C and find out that ripgrep is doing all it's doing in one-tenth the size of grep source code, or even half the code size, I'd be quite impressed, and be willing to take Rust seriously. Well guess what, I downloaded the two sources. Grep source code is about 4k LoC. ripgrep? about 24k. WTF. I thought maybe I was mistaken. I went into the ripgrep source directory and started going through the individual subdirectories under 'crates'. - printer: 4664 - core: 4561 - searcher: 4360 - ignore: 4321 If your printing code, and your searching code individually is the size of the whole machinery of grep, I feel sorry for you. If this is the state of the rewrite-everything gang, I can't take those guys and their language seriously. I just can't. edit: to those who're saying ripgrep is more than grep. First, I know. Second, wouldn't it be great if someone could rewrite ripgrep in C? Now I'm really curious to find out the code-size complexity of all the ripgrep features backported to grep.
- adamch 6y agoPerhaps the developers had a success metric other than LOC.
- isbadawi 6y agoripgrep isn't a 1:1 rewrite of grep. It's a different program.
- teraflop 6y agoMaybe the fact that ripgrep contains more lines of code is related to the fact that it has more features, and not just about the language it's written in? https://beyondgrep.com/feature-comparison/ https://beyondgrep.com/feature-comparison/ Also, it's kind of pointless to compare lines of code given that both projects get large amounts of their functionality from dependencies. For instance, the GNU grep repository doesn't actually contain any regex-matching code; that's all in gnulib. EDIT: If you already knew that ripgrep had more features, and yet your immediate reaction was that you "can't take those guys and their language seriously", then your comment is straight-up trolling. Please don't do that here.
- sho_hn 6y ago> The decision making power within the Rust project is uniquely delegated and distributed; with the core team holding little more privilege than other more specialized teams. [...] And the potential of such a system has bore fruit: It is not a mistake that such a promising technology has emerged from such a progressive conception of collaboration. These are values and thoughts describing an approach that the KDE community (and its foundation; hello from another board!) holds equally dearly and has inscribed in its Manifesto (https://manifesto.kde.org/ https://manifesto.kde.org/, cf. Common Ownership). While maybe not unique, I'm excited to see another organization adopt this idea set (a support body not interfering with technical agenda, low barriers to participation, not entrenching maintainers, working succession mechanisms, etc.) as a core message. We've seen it work very well to sustain a productive community for 25 years and I think this bodes well for Rust!
- deleted 6y ago[deleted]
- pdevr 6y agoAs someone who wants to use Rust for real world applications, what are some good use cases for Rust? Web development is not its strong suite, apparently. Or, better still, what have you personally built using Rust?
- snake_case 6y agoI mentioned elsewhere in this thread that I built a jigsaw puzzle website [1] with a Rust API backend and I launched it last week. It definitely took longer than if I had used Node, but I enjoy working with Rust much more. Apart from that website, I have also open sourced a Rust CLI task runner [2] which uses markdown files as a command definition format. This is probably the most important tool I've ever written, as I have used it every single day since. [1]: https://puzzlepanda.com https://puzzlepanda.com [2]: https://github.com/jakedeichert/mask https://github.com/jakedeichert/mask
- andrewkdinh 6y agoSome off the top of my head are Alacritty (terminal emulator), exa (ls alternative), bat (cat alternative), and dog (dig alternative). Discord is rewriting a lot of their services from Go to Rust [0]. I personally built a CLI text editor in Rust [1] (very early development). [0] https://blog.discord.com/why-discord-is-switching-from-go-to-rust-a190bbca2b1f https://blog.discord.com/why-discord-is-switching-from-go-to... [1] https://github.com/andrewkdinh/via https://github.com/andrewkdinh/via
- da_big_ghey 6y agoSmall erratum: Your first link describes re-writing a back-end service from go to rust; the first-party Discord client is Electron.
- brabel 6y agoI've used Rust to write a couple of personal projects: a compiler for a language I've designed (it's really good for that because of its great ADT and pattern matching support) and a small CLI which I wanted to be very fast. Rust is great for that. The `structopt`[0] crate makes writing CLIs almost as easy as on a high level language. The other project is a web app and I use Rust to compile to WASM. Because I had to use several web APIs (DOM, WebCrypto) I used the JS interop heavily, and that's still very painful to use if you use the low-level interop (js-sys and web-sys)... however, I am aware of several efforts in this area, like Yew[1], which should make things better. The language is very hard to learn, but once you get past a certain threshold (depending on what you know already, that may take weeks to several months) it's really nice to use (though certain things are still hard to write because managing lifetimes can be very tricky). [0] https://crates.io/crates/structopt https://crates.io/crates/structopt [1] https://yew.rs/ https://yew.rs/
- ChrisSD 6y agoAnnouncements also from Mozilla, Amazon and Microsoft: https://blog.mozilla.org/blog/2021/02/08/mozilla-welcomes-the-rust-foundation/ https://blog.mozilla.org/blog/2021/02/08/mozilla-welcomes-th... https://aws.amazon.com/blogs/opensource/congratulations-rustaceans-on-the-creation-of-the-rust-foundation https://aws.amazon.com/blogs/opensource/congratulations-rust... https://cloudblogs.microsoft.com/opensource/2021/02/08/microsoft-joins-rust-foundation/ https://cloudblogs.microsoft.com/opensource/2021/02/08/micro...
- raphlinus 6y agoAnd Google: https://opensource.googleblog.com/2021/02/google-joins-rust-foundation.html https://opensource.googleblog.com/2021/02/google-joins-rust-...
- anonyfox 6y agoI‘d love to see Apple joining. They already have the hand on LLVM and support things indirectly, but... There is no reason that serious things written in Rust can‘t coexist with app-y stuff in swift. Seriously, I think we all would benefit enormously from some consolidation, especially on such a great foundation like Rust. Think investments like: compiler-optimizations like V8, portability like C, enterprise grade tooling like Java, productive libraries like Ruby, datascience libs like python, ... it would be great to have all of this in one coherent package. Why? Instead of glueing together brittle and fragile things where the moving parts break within weeks, reinventing the wheel, we could finally focus on the actual things to build. Bonuspoints for Rust: every other techstack can leverage/profit directly, like when binding C stuff. Everyone still can innovate like the past decades, languages and libs will be re-explored and reinvented and so on, but, really, a solid baseline would be a dream
- uh_uh 6y agoThis is great news, but I have to point it out. Some of the social media handles on the Board of Directors page are hilariously unreadable: https://foundation.rust-lang.org/board/ https://foundation.rust-lang.org/board/ (Click the pictures to reveal them)
- valarauko 6y agoWhat's with the crabs? Is it an inside joke I'm not getting?
- brabel 6y agoI think it started with the name given to Rust programmers: Rustaceans. It is close to crustaceans so I think the puns just got out of hand from there :D
- valarauko 6y agoAh, makes sense. I wondered if it had anything to do with the internet's recent rediscovery of carcinization.
- kwierso 6y ago"crustacean" > crab "rust-acean"
- Arnavion 6y agoThat particular crab also happens to be the language's (unofficial) mascot character, Ferris.
- kace91 6y ago>(Click the pictures to reveal them) Not working for me (iOS/safari). That's a bit weird.
- Daho0n 6y ago
- mjw1007 6y agoI found parts of that announcement very difficult to follow. Can anyone tell me what the following means? « For too long, open source as both an industry and a community has done a poor audit of its expenses. Notably, ignoring the price of what I’d controversially argue is the core value proposition of open source software: the freedom to collaborate. »
- picardo 6y agoJust a throwaway line, written, no doubt, in a fit of high-mindedness.
- Rusky 6y agoI read it as a reference to the problem of maintainer burnout in the face of unbounded input from users and collaborators. This is something the Rust project has been dealing with and thinking about for a while.
- muricula 6y agoHere's my take: Collaborating in the open and communicating the results of discussions and the rationales for decisions to the wider community who wasn't present for the discussions has a high time cost. It seems the core rust team has put a lot of effort into making decisions in the open, which increases freedom to collaborate.
- yannoninator 6y agoJust as crazypython said, it seems that the power has shifted from Mozilla and the community to big corporations on the future of Rust. This is worrying to me in that engineers are naively selling their souls to big corporations just to work on Rust. I'm glad for the formation of the foundation, even though I hear that even Facebook (although not on the board yet) are looking for engineers to work on the Rust compiler. Yikes.
- iso8859-1 6y agoNo language has ever been ruined by large corporations. Languages are too far removed from society to be affected by this.
- yannoninator 6y ago> No language has ever been ruined by large corporations. Oracle ruined Java.
- iso8859-1 6y agoHow? Pron seems to be ok with the direction: https://news.ycombinator.com/item?id=19827063 https://news.ycombinator.com/item?id=19827063
- jiayounokim 6y agoCode is code. Big corporations or small corporation, if the language benefits from it, its all good. React is from FB, they have engineering talent as such Amazon, Google, Microsoft, Mozilla.
- pjmlp 6y agoBig corporations are also driving ISO and ECMA languages, so do you feel like selling your soul to work with C?
- yannoninator 6y agoYes, you and I are more likely not to have say in this, I prefer the community to have a say not corporations.
- deleted 6y ago[deleted]
- rexdexpl 6y agoWell - no surprise for me here. Speaking as someone that worked in FAANGs - people love to burn money unproductively there and RUST is just perfect for that. Reinventing the wheel and solving already solved problems but "different". It's a language for theoretical "perfectionists" and Code Review keyboard fighters that will burrow themselves in it for years and probably never contribute to company's IP in any meaningful way. It's great that those big-tech money furnaces finally "embraced" it.
- deleted 6y ago[deleted]
- rl3 6y agoHow is including Huawei as a founding member of the Rust Foundation in any way justifiable from a moral perspective? Using advanced technology to enable genocide.[0] Employee intimidation.[1] Disinformation campaigns.[2] Threat to the security of the free world.[3] Genuinely curious here. Puzzled, even. It's not as if these points are lost the people involved. Perhaps it's part of some larger plan that means well. Rust has always been about diversity and inclusion. That's great. Including a company that's essentially beholden to its authoritarian government—a government that's actively pursuing genocide using Huawei's own tools—simply strikes me as antithetical to the Rust I knew. [0] https://www.washingtonpost.com/technology/2020/12/08/huawei-tested-ai-software-that-could-recognize-uighur-minorities-alert-police-report-says/ https://www.washingtonpost.com/technology/2020/12/08/huawei-... [1] https://netzpolitik.org/2021/wolf-culture-how-huawei-controls-its-employees-in-europe/ https://netzpolitik.org/2021/wolf-culture-how-huawei-control... [2] https://www.nytimes.com/2021/01/29/technology/commercial-disinformation-huawei-belgium.html https://www.nytimes.com/2021/01/29/technology/commercial-dis... [3] https://www.youtube.com/watch?v=8AR3emaMdBc https://www.youtube.com/watch?v=8AR3emaMdBc
- hobofan 6y agoDon't most of those points apply to all of the companies involved? Not defending Huawei here, but basically every tech giant has a bad track record regarding these topics. In general it's a very traditional tech worker dilemma: Do I want to get a good salary working on interesting problems that is mostly of interests of big tech companies that make their money via arguably shady means, or do I want to earn an average salary working on boring problems and be 100% sure I have a clean conscience. I'm guessing the approach is to have a quasi-parasitic relationship with the sponsors: You personally stay as little involved with the "bad parts" of the company and try to push the "good parts" forward while also pushing the open source tech forward (hopefully for the good of all humanity). That's how I have seen the relationship between Rust and Github (= Microsoft) play out so far too: Rust is very deeply relying on Github for pretty much everything while a good chunk of the individual team members critizize their involvement with ICE at every opportunity.
- roca 6y ago
- EugeneOZ 6y agoAs an author of the idea I'm happy to see it implemented :) Now I only wait to read the instructions how I can donate money to this foundation.
- wilsocr88 6y agoThe decision to partially "let go" of Rustlang as an asset on some level makes Mozilla something like the anti-Google. If Mozilla make this a habit, they'll come closer to achieving their mission, and the spirit of FOSS. It's a worthy goal, using your power to spin off great pieces of software into independent organizations. I mean, even old "Micro$oft" now knows that open source is more of an asset to them than a competitor. Good to be coding in a time like this. :)
- TylerE 6y agoThat's a funny way to spin "fired all the people that were working on it".
- BenTheElder 6y agoFWIW Google did this ("letting go" of an asset) with Kubernetes / the CNCF. I work on this at Google, but Google no longer owns this since 2015.