Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fluffything
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
fluffything
6y ago
Rust macros are just programs that take source code as input and produce source code as output. These programs can do anything that the user running them does. You can compile them to WASM, ship them over the network, and run them on a WASM
32.
▲
by
fluffything
6y ago
can you recommend one? all the ones i've found have horrible reviews
33.
▲
by
fluffything
6y ago
Hi dang, i don't know where else to contact you. I see you posting comments about there being multiple comment pages. Is there anything that could be done to avoid that, like allowing more comments per page (e.g. up to 10 of the curren
34.
▲
by
fluffything
6y ago
> all Apple Silicon machines will have this kind of hardware backed into the SoC at no extra cost whereas no Intel system (be it PC or Mac) will. First of all, adding this hardware encoder to the Apple Silicon chips definetly has a cost,
35.
▲
by
fluffything
6y ago
I have a MacBook Air 2012, and have been waiting to upgrade for... 2 years already. The laptop will probably end up being 10 years old by the time I upgrade... - crappy webcam, - no built-in SD card reader (a 1TB SD card is ~200$, and my mu
36.
▲
by
fluffything
6y ago
I would just use beta instead and "turn it" into a nightly compiler with RUSTC_BOOTSTRAP=1.
37.
▲
by
fluffything
6y ago
I got a top of the line AMD card for compute > 1 year ago. Still does not have ROCm support, so its been sitting in a shelf for >1 year. Some people here value "open source" drivers over "working drivers". I value
38.
▲
by
fluffything
6y ago
How is ISPC's support for AMD MI supercomputing accelerators, or Nvidia's A100s ? I feel like Hip, OneAPI, ISPC, etc. haven't improved anything over CUDA. With CUDA we had one proprietary API. Now we have 3-4.
39.
▲
by
fluffything
6y ago
> you'd rather think of investing into another hard FP friendly language like Rust which simply has a wider applicability area. FYI Aaron Turon did their PhD on Concurrency+Scala, and ended up leading the Rust core team for more tha
40.
▲
by
fluffything
6y ago
You can create an instruction to perform X newton iterations in 1 cycle if you want, and you can pick X to give you 14-bit precision. With such an instruction, you could exponentially increase the precision in 2 cycles by just using the sam
41.
▲
by
fluffything
6y ago
I prefer architectures that have a vector instruction for computing one or two Newton iterations instead. That way you can quickly get the precision that you want ;)
42.
▲
by
fluffything
6y ago
Indeed. Apparently the support for stable Rust was merged onto master months ago, but there hasn't been a release since then. 0.5 should be the first version that builds on stable Rust according to this thread: https://githu
43.
▲
by
fluffything
6y ago
> But why should one choose Rust when there're plenty of alternatives with much larger and much more stable ecosystems. In my experience, and this is just a data point: because it is much simpler to write correct Rust code and to re
44.
▲
by
fluffything
6y ago
Your comment and the comment you are replying to are both correct. Rocket's current released version is 0.4.5, and that version builds with a stable Rust toolchain.
45.
▲
by
fluffything
6y ago
I have a 5800 XT and I've just given up on ROCm support for it at this point. Why would I get a Radeon VII when used nvidia cards for machine learning are extremely cheap, and then I don't have to worry about experimental stuff br
46.
▲
by
fluffything
6y ago
How easy is the blood testing?
47.
▲
by
fluffything
6y ago
> and if so how? I use ketosis strips (Ketostix). You pee on them, and they tell you. Totally worth the 5$ they cost. I'm happy in full ketosis, or no ketosis at all, but the "half-way" ketosis state is just pure torture.
48.
▲
by
fluffything
6y ago
What do Zig "generics"/"comptime" errors look like ? > One of the key differences between zig and rust is that when writing a generic function, rust will prove that the function is type-safe for every possible va
49.
▲
by
fluffything
6y ago
It doesn't, and just falls back to using full bandwidth as usual.
50.
▲
by
fluffything
6y ago
After chasing a bug for hours just to discover that it is a deadlock, its always easier to realize, in hindsight, that deadlock detection would have been useful. Independently of how perfect your architecture is, the moment you add a Mutex
51.
▲
by
fluffything
6y ago
> [Things I avoid] parking_lot: More compact and efficient implementations of the standard synchronization primitives. [goes on about efficiency...] lol, really? No, like, not at all. Parking lot has 1 killer feature, and 1 killer featur
52.
▲
by
fluffything
6y ago
> 3. It's hard to compete against MS VS code. I agree, but as an emacs user that has tried it multiple times, I really don't "get it". The main thing that excited me about Xi wasn't Xi itself, but rather that its
53.
▲
by
fluffything
6y ago
While deprecated, intel has also an opensource machine code analyzer called IACA. It is also worth pointing out that these "analyzers" are just tools that simulate particular CPU architectures. Their models are just approximations
54.
▲
by
fluffything
6y ago
> So, maybe [...] is better You were one click away of using LLVM's Machine Code Analyzer (MCA) within godbolt to see why one of the two isvowel one-liners is objectively better than the other: https://godbolt.org/z&
55.
▲
by
fluffything
6y ago
I think this bug fix is wrong, the previous behavior was both correct and better, and the actual bug is probably in alive2. The bug report claims > The domain for (llvm.maximum undef, %x) depends on %x, But this claim is not true. Here i
56.
▲
by
fluffything
6y ago
Why isn't Xi a "hero" app for this anymore?
57.
▲
by
fluffything
6y ago
This is more a topic for Rust 2020-2030 than Rust 2021.
58.
▲
by
fluffything
6y ago
No, I don't have those. Maybe they can be disabled? I don't recall disabling them.
59.
▲
by
fluffything
6y ago
Why is this faster than dynamic linking ?
60.
▲
by
fluffything
6y ago
> Support for big FFT dimension sizes. Current limits: C2C - (2^24, 2^15, 2^15), What about bigger than big? > 2^29 or so ? Are these sizes for double precision ?
More ›