Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Ygg2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
361.
▲
by
Ygg2
11mo ago
> I got especially confused at the actor part, aren't actors share nothing by design? Me as well. I thought actors are a bit like mailboxes that process and send their messages.
362.
▲
by
Ygg2
11mo ago
> publicly disclosing these for small resource constrained open source project probably creates a lot more risk than reward. Not publicly disclosing it also carries risk. Library users get wrong impression that library has no vulnerabili
363.
▲
by
Ygg2
11mo ago
What problems does Java JSR 310 have (old Java time yes, but those are known issues)? As far as I have used it, it was damn near perfect.
364.
▲
by
Ygg2
11mo ago
Not exactly chrono crate (to quote "chrono or equivalent"). More like Java's version of chrono.
365.
▲
by
Ygg2
11mo ago
This has happened already. See https://doc.rust-lang.org/std/cell/struct.LazyCell.html It's just it's not frequent. There is very few things that need to be in the standard library. I only ever miss chro
366.
▲
by
Ygg2
1y ago
> paid off handsomely Paid off how? Did they get more funding? More contributors?
367.
▲
by
Ygg2
1y ago
> You seem to be suggesting that code that crashes in Fil-C will often run successfully in YOLO-C, but that doesn't seem to be the case from Pizlo's LFS exercise. No. I'm saying they will behave subtly different. One will
368.
▲
by
Ygg2
1y ago
Tell me you haven't used Rust without telling me you haven't used Rust.
369.
▲
by
Ygg2
1y ago
> It isn't essential to C; Its being not essential doesn't matter. If you have a Fil-C code that terminates on UB and a C code that doesn't, you have two provably semantically (subtly) different programs. Proof: You have a
370.
▲
by
Ygg2
1y ago
If you can convert Cobol to Java, you can convert C++ to a GC language as well. If you are so inclined.
371.
▲
by
Ygg2
1y ago
Pretty sure that's a programmer's raison d'être. Not invented here (NIH) syndrom predates Rust.
372.
▲
by
Ygg2
1y ago
> but I think most C programmers won't be willing to take a 4× performance hit. At a 4x performance hit, you might as well use C# or Go. > Fil-C's target audience is users of C programs, not authors of C programs. Sure, bu
373.
▲
by
Ygg2
1y ago
Still given the option, I would prefer the tool that gets the job done that is safer and reduces error over one that is just sharp edges. For example, TypeScript vs JavaScript.
374.
▲
by
Ygg2
1y ago
> That's both an obscure and a complicated OS/Arch combination. Ok. A more realistic example. I want to develop a Windows game, because that's where the audience is. And I want to develop my game in Rust, because I know it
375.
▲
by
Ygg2
1y ago
You mean outside iced, slint, egui, etc. ?
376.
▲
by
Ygg2
1y ago
This isn't just a developer experience. It's user experience as well. As in "shit doesn't work on my Windows Arm." Sure reuse where possible, but sometimes you need to rewrite. > which causes abandonment and othe
377.
▲
by
Ygg2
1y ago
The OutOfMemoryError will happen after rocket hits the target.
378.
▲
by
Ygg2
1y ago
> I don't want tools to bug me EVER. This includes when I make a mistake. If that is your true wish, may I recommend JavaScript? It's a language famous for not complaining about errors. Or WASM/ASM if you want something cl
379.
▲
by
Ygg2
1y ago
> rusties don't want to succumb and use a standard tar library because of performance (self inflicted performance hit from creating an incompatible ecosystem) or pride (we need a version written in rust). Pure BS. If I wrote somethi
380.
▲
by
Ygg2
1y ago
> It is a tool that works for me. Is it? Or is it a tool that won't bug you when you make a mistake? Programmers tend to, as Djikstra noted[1] confuse ease of programming with allowing unforced errors. [1] https://en.wiki
381.
▲
by
Ygg2
1y ago
Iirc it started as simple exercise. It just aimed at high compatibility with original coreutils. Which part of that is stupid? License is chosen because Rust is more static linkage friendly. Which leaves exercise part or high compatibility.
382.
▲
by
Ygg2
1y ago
So rewrites in Rust can happen as long as they don't have practical usage? This isn't something that affected Ubuntu. It's something Ubuntu wanted to test in day to day usage.
383.
▲
by
Ygg2
1y ago
Yup. Primagen hyping it up gave it a huge push.
384.
▲
by
Ygg2
1y ago
Ironically enough I can't access Reddit due to no healthy upstream.
385.
▲
by
Ygg2
1y ago
I thought we were talking about high performance parsing. Of which buffered reads are one. Other is loading entire document into mutable memory, which also has limitations.
386.
▲
by
Ygg2
1y ago
Not if you are doing buffered reads, where you replace slow file access with fast memory access. This buffer is cleared every X bytes processed. Writing to it would be pointless because clears obliterate anything written; or inefficient bec
387.
▲
by
Ygg2
1y ago
Binding is one thing, having idiomatic library is another.
388.
▲
by
Ygg2
1y ago
You have a read buffer and somewhere where you have to write to. Even if we pretend that the read buffer is not allocating (plausible), you will have to allocate for the write source for the general case (think GiB or TiB of XML or JSON).
389.
▲
by
Ygg2
1y ago
That's great. But I need an Aerospike/YAML/JPEGXL/Slint libraries first thing in the morning. Is it in vendor package yet? No? Then Odin vendor package will be a bottleneck for development.
390.
▲
by
Ygg2
1y ago
If you indent your pasted stuff by four spaces, HN treats it as code. That might help.
More ›