Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Ygg2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
931.
▲
by
Ygg2
2y ago
You do realize netstandard 2.0 is 7 years old right? That it misses a ton of functionality compared to current dotnet. Stuff like MaybeNull annotation .
932.
▲
by
Ygg2
2y ago
> BenchmarksGame offers a much better close-up comparison by having much simpler submissions that mostly consist of code that you could totally see yourself write in a regular setting Yeah, except if you are working on Web servers the qu
933.
▲
by
Ygg2
2y ago
Cheat-y in what way? I don't consider micro benchmarks that interesting especially since C# does have two aces that Java will get in mid term - namely Simd and primitive types. The Tech Empower benchmarks do seem to reflect general sta
934.
▲
by
Ygg2
2y ago
The last few Spring projects I worked on that used the latest Java, still used Lombok. Records do exist, but you can't or don't want to always use them.
935.
▲
by
Ygg2
2y ago
Hack or not, it's been working relatively well for the past decade. But even, if you account for that, the records in Java do most of what Lombok used to do - make class externally immutable, add default `toString`, `equals` and `hashC
936.
▲
by
Ygg2
2y ago
Ahem. > web benchmarks https://www.techempower.com/benchmarks/#hw=ph&test=composite...
937.
▲
by
Ygg2
2y ago
> Since we discuss C# here, it is a good jack of all trades language where you can do almost anything, with decent performance, low boilerplate. That's basically modern-day Java, with Lombok and other tidbits. Furthermore, if I reca
938.
▲
by
Ygg2
2y ago
> ...actively seeks to banish any positive sentiment around effective tools Effective at what? Want GC lang with lots of libraries? Use Java. Want GC free lang with safety? Use Rust. Otherwise just use C. Or C++. For me C# lies in this a
939.
▲
by
Ygg2
2y ago
That'd be a Sisyphean job. Writing kernel in Rust from scratch, I understand, but this? Please, let this be a joke.
940.
▲
by
Ygg2
2y ago
> There isn't a technical reason for why Rust couldn't do this. First, it would be a huge undertaking. That in itself is a huge time/resource burden. Second, it would add overhead to any non-async function call. Because as
941.
▲
by
Ygg2
2y ago
I'm curious. What syntaxic salt?
942.
▲
by
Ygg2
2y ago
Counter bullets: * Experience gap between C++ and Rust should give edge to C++ as it has larger pool of candidates to pick from. * Even in greenfield Rust vs greenfield C++ like Rust drivers in Android, Rust significantly reduced defect rat
943.
▲
by
Ygg2
2y ago
> thoroughly debunked Ok. Looks inside. First warning sign Primagen. Ok. What did he talk about: > There is lies, damn lies and statistics. > Go is goated, let's go. Truly dedunked.
944.
▲
by
Ygg2
2y ago
As opposed to US spyware?
945.
▲
by
Ygg2
2y ago
That's like blaming Fleming for the antibiotic crisis. Just because you have a pattern, you shouldn't use it preemptively.
946.
▲
by
Ygg2
2y ago
> That truly sounds like a skill issue. This no-true-Scotsman angle is silly. I said documentation and tests, I don't know how you got "doctests" out of that. I said "documentation", and "tests". I didn
947.
▲
by
Ygg2
2y ago
> Hacker News is not some strange place where the normal rules of discourse don't apply. I assume you are familiar with the function of quotation marks. Language is all about context. I wasn't trying to be deceitful. And on HN
948.
▲
by
Ygg2
2y ago
> Quotation marks are usually reserved for direct quotes, Not on HN. Customary is to use > paragraph quotes like you did. However I will keep that in mind. > Cool. I have, and many others have. I'm unsure why your experience j
949.
▲
by
Ygg2
2y ago
> Didn't you just do that to an entire class of engineers Not really. He said "if you claim LLM's are next thing since sliced butter I am doubting your abilities". Which is fair. It's not really a class as much a
950.
▲
by
Ygg2
2y ago
> Keeping documentation up to date is a hard problem that I haven't yet seen solved in my career. Rust doctests. They unite documentation and unit test. Basically documentation that's never so out of sync its assert fail.
951.
▲
by
Ygg2
2y ago
It's not unsafe that causes unsafety, it's how you wield it. - Do you know your invariants? - Have you documented them? - If using unsafe block, have you asserted them or guaranteed that they hold for any input? Granted, Rust is k
952.
▲
by
Ygg2
2y ago
> If your Rust project leans heavily on unsafe code and/or many libraries that use lots of unsafe, then aren’t you fooling yourself to some degree That's why every unsafe block needs a SAFETY block. Is using vec.get_unchecked(6
953.
▲
by
Ygg2
2y ago
> One of those filesystems is likely more stable than the other, but the image of perfect zfs is tiring. I didn't say perfect, I just said, querying for FS to use, everyone recommends ZFS, over Btrfs. Even if not perfect, it seems t
954.
▲
by
Ygg2
2y ago
It also goes a bit more than that, for optimal UTF8 search you want the ASCII separators. It's always easier to search for a single byte than two or more bytes of special pattern. That said, I do agree we should abolish CRLF. And repla
955.
▲
by
Ygg2
2y ago
Whenever topic of FS arises, I always hear anecdata that btrfs/ext4 lost data and ZFS was smooth sailing.
956.
▲
by
Ygg2
2y ago
> If not than in our society almost everybody would be obese. Isn't that already the case. I'm of belief, the failing isn't individual but societal. You have obese toddlers and wild animals in the US. I don't think th
957.
▲
by
Ygg2
2y ago
> Why would you need to reinvent networking layer instead of just sending http requests via matrue, battle tested lib available in your programming ecosystem e.g from MSFT? Because modern browsers are essentially cross-compatible OSes.
958.
▲
by
Ygg2
2y ago
> At the end of the day web browser is just bunch of parsers and compilers working together At the end of the day, OS is just a bunch of command lines being piped together. /sarcasm Sure, you are just missing: rendering, layout, sec
959.
▲
by
Ygg2
2y ago
Sounds like Mozilla should invent a low level language with great safety guarantees, maybe even call it after some form of oxidation process[1]. Then make a browser engine called after a motor[2], and then NOT axe the team responsible for i
960.
▲
by
Ygg2
2y ago
> Rust isn't as nice of community as people think It's a numbers game. As the number of people using Rust grows, so does the number of Jerks using Rust. And it's not like the Rust community is a stranger to bullying maint
More ›