Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stymaar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
751.
▲
by
stymaar
10y ago
> Rust has one: if you commit to using Rust, you're also committing yourself to an LLVM-based monoculture rust currently has only one backend, which is LLVM, but their is a working project to build an alternative one for the Cretonn
752.
▲
by
stymaar
10y ago
> devs already have to rework their apps frequently to handle the curve-balls MS/Apple/Google etc. throw at them. If we had a C compiler with webkit-level dominance, and we made just one fix to it every cycle, that would be a
753.
▲
by
stymaar
10y ago
> The only software written in assembler is high performance numerical code and certain hardware-specific kernel device drivers. Don't forget the cryptographic primitives : coding them directly in asm is the only way (at least the o
754.
▲
by
stymaar
10y ago
> I don't care if Herb Sutter can find 1000 "bugs" in my C++. Until the new release of GCC improve its performance by 10% by optimizing more cleverly an Undefined Behaviour but OOPS it now breaks your code … > I quickly
755.
▲
by
stymaar
10y ago
> Rust is great, but not great enough to justify a redo of a program that has been extended and maintained for decades (like vim or photoshop). I agree with that, and most people do even in the Rust community. I don't expect people
756.
▲
by
stymaar
10y ago
Being written in Rust is not its main feature (and I think you're being down-voted because people don't like fanboys). This project is cool because it has a really low overhead, which is really cool if you want to parallelize task
757.
▲
by
stymaar
10y ago
So you want to exclude people based on their political opinions ? How is it different from excluding Mexican immigrants from using your code ? Trump supporters are persons you know, just like gay people, blacks or immigrants. What differenc
758.
▲
by
stymaar
10y ago
> We've often had feedback from Python/JS shops using Rust that learning Rust had the side effect of teaching them systems programming. I think that's pretty awesome. I'm a self-taught developer who only practiced mem
759.
▲
by
stymaar
10y ago
This is still a regular supermarket with cashiers. Your can either : - leave your trolley to the shipping service and pay everything when your are shipped. - leave your trolley, pay everything there pick any item your want and be shipped th
760.
▲
by
stymaar
10y ago
I agree with the analogy, but I would add that it's usually located where your would have a Walgreens in the US, which is much smaller than the average Target.
761.
▲
by
stymaar
10y ago
> their target demographic are tech-friendly and, by transitivity, affluent. Their target demographic is not tech-friendly at all, quite the opposite, but indeed affluent: they are located in the center of rich french cities, where wealt
762.
▲
by
stymaar
10y ago
Monoprix customer for two years, I can relate this is no false advertising or demonstration of intent : it works like this in real life. Monoprix live in a nice niche of upper class consumers living in the center of rich towns. The produits
763.
▲
by
stymaar
10y ago
No way. Monoprix is definetely a high end supermarket, not because it's organic or high quality food only (unlike whole food) but because it's always located in weathy areas of inner towns (your find Monoprix in the XVIth and XVII
764.
▲
by
stymaar
10y ago
Thank you ! Maybe this could be documented somewhere on the rustup doc so new users like me aren't puzzled by this strange “unknown” everywhere. Or maybe it is, and I just didn't find it because I was too lazy to look explicitly f
765.
▲
by
stymaar
10y ago
c) a bad practice since it will make your program crash is a node has no parent. if the node always having a parent is a invariant of your application, you should use `expect` with a clear error message when the invariant is broken. if your
766.
▲
by
stymaar
10y ago
Unwrap will panic if no parent is found, whereas the `?` operator allows for a clean handling of this situation. Dealing with this case properly without using a single `?`, gets really ugly with a lot of nested if let Some(parent) = n
767.
▲
by
stymaar
10y ago
I totally agree. @oblio you should have a look at the “24 days of Rust” blog series[1] which covers a lot of aspect of the Rust ecosystem (serialization, error handling, path management, configuration handling etc.) [1] https://
768.
▲
by
stymaar
10y ago
I love JS (pretty unpopular opinion here on HN) and I love Rust also and I'm not convinced using Rust on front-end tasks would have any benefits. Yet, I strongly disagree with you on this point : > Rust is a low level systems progra
769.
▲
by
stymaar
10y ago
> Even after deploying for the Fukushima disaster, I am a fan of nuclear power. I'm quite the opposite, I'm really affraid of this technology where everything could go wrong if your are not paying 100% attention to every single
770.
▲
by
stymaar
10y ago
Good to know that this list must not be taken as Gospel. Thanks.
771.
▲
by
stymaar
10y ago
> Because that industry has "low" volumes and very high R&D costs (especially for machines intended for diagnostic use), the difference between production cost and market price is very high. This is true, but this is only h
772.
▲
by
stymaar
10y ago
Is it ? According to [1] it should be available in 1.14, which is the current beta. [1]: https://internals.rust-lang.org/t/all-the-rust-features/4322
773.
▲
by
stymaar
10y ago
See also : http://www.flexboxdefense.com/
774.
▲
by
stymaar
10y ago
> Rust has great potential to challenge Fortran in this domain, but numerics is mostly an afterthought in Rust. A common problem with Rust: many people from different backgrounds sees it as a godsend (for some good reasons) and they'
775.
▲
by
stymaar
10y ago
They partially did since 1975[1]. [1] : https://en.wikipedia.org/wiki/Metrication_in_the_United_Stat...
776.
▲
by
stymaar
10y ago
Why not both ?
777.
▲
by
stymaar
10y ago
> I would like to see much, much simpler programming languages, even if they're more verbose, as long as the result is improved readability and longevity of the code written in said languages. I'm really sad to see this miscons
778.
▲
by
stymaar
10y ago
> Can you evolve your syntax as people get used to it? Not only are you adding work to your parser, but people who use your language also have to deal with the multiple iterations of the syntax that linger in various codebases. Clippy[1]
779.
▲
by
stymaar
10y ago
Me too, even though I was a bit surprised by the announcement: with the undergoing work around async IO and Futures, I don't expect hyper to stabilize quite soon.
780.
▲
by
stymaar
10y ago
I can totally relate to this !
More ›