Live data from Hacker News

Viewing profile — zRedShift

zRedShift

HN member
Joined
Sun, Sep 15, 2019, 11:56 AM UTC
HN karma
80
Public activity
35 items

About zRedShift

No profile information was provided.

Recent public activity

  1. comment
    Comment #37407093

    I use DC on my Mac, works just as well as on Linux, some of the touchpad gesture sometimes changes the font size and I have to reconfigure it once in a while when I accidentally do…

  2. comment
    Comment #33764113

    I agree, but what I'm saying is, it only generates the numbers once and then sorts them 500 times. Yes it's a flawed measurement because it measures the generation time + 500 sorts…

  3. comment
    Comment #33763859

    Made a PR with the fixes, Rust is now 3 times faster than tinygo, and the wasm is almost 3 times smaller (wasm+js is twice as small) as expected. https://github.com/Ecostack/wasm-r…

  4. comment
    Comment #33763735

    It's also not measuring rng speed, it's measuring memcpy and sort speed.

  5. comment
    Comment #33763721

    Your go uses `pdqsort` to sort 4 byte ints from 0 to 100, while rust uses a stable sort (`sort_unstable` is equivalent to `pdqsort`) on single byte integers from 0 to 255. Hardly a…

  6. comment
    Comment #33668241

    You typically use build-std and possibly abort on panics or immediate-abort to disable the string formatting code in stdlib, and you do fat LTO. after stripping the binary, it’s pr…

  7. comment
    Comment #33592098

    How is it different from "If you ever go down the JNI road in Java"? Be it a library the bundles RocksDB, or Android stuff, doesn't matter that your average Spring Boot developer p…

  8. comment
    Comment #33565033

    I don't even disagree with these points! But if you go down to language lawyering and semantics, I think one could technically make a case for Rust being safer (in the memory safet…

  9. comment
    Comment #33564680

    No one is writing kernels, raw register level volatile DMA bit-banging embedded code, and other "impossible without unsafe" code in Java/Go (Ok, almost no one, don't @ me, pjmlp, t…

  10. comment
    Comment #33564268

    Both Java and Go also have unsafe, and are often used for FFI/Performance, and some popular/foundational libraries (like Google's Protobuf library in Java) use unsafe just for adde…

  11. comment
    Comment #33563737

    > For regular application code there's no real benefit Can't disagree, naive garbage collected code would outperform naive Rust code that allocates Strings and Vecs up the wazoo. A…

  12. comment
    Comment #33305607

    Do you want to use AVX-512? Zen 4 is your only real option out of the three. They disabled AVX-512 on Golden Cove due to Gracemont not having it, and not having implemented any sor…

  13. comment
    Comment #32205025

    https://doc.rust-lang.org/std/macro.include_bytes.html

  14. comment
    Comment #32072738

    I think you meant Espressif, Steve. They have a fork of LLVM with Xtensa support they’re looking to upstream (still a few things missing, like the DSP/AI instructions in ESP32-S3, …

  15. comment
    Comment #31920442

    Funnily enough, these are the top 3 languages in the company I work in.

  16. comment
    Comment #31906527

    If we're talking about wish-lists, encoding performance on low-power IoT devices, maybe? It has decent SIMD support on ARM/x86 and tweakable complexity settings, but if your device…

  17. comment
    Comment #31906250

    FLAC compression is, although lossless, not nearly as straightforward as raw PCM/WAV/AIFF. It has LPC (linear predictive coding), with the usual residual entropy/RLE coding (but wi…

  18. comment
    Comment #31885569

    >iOS https://www.reddit.com/r/rust/comments/vj40qq/noumenal_my_3d... Does this count? And we’re soon shipping Rust components to several hundred thousands of iOS (and Android, but …

  19. comment
    Comment #31877996

    > legdur First commit 2 months ago, started with edition 2021. https://hg.sr.ht/~cyplo/legdur/browse/Cargo.toml?rev=ca11815... Have you tried compiling something less than bleeding…

  20. comment
    Comment #31873402

    Have you tried cargo zigbuild? You can target specific GLIBC versions. https://github.com/messense/cargo-zigbuild

  21. comment
    Comment #31853968

    For further reading, I recommend Niko's latest blog, tangentially related to rustc internals (and arena allocation): https://smallcultfollowing.com/babysteps/blog/2022/06/15/wha...…

  22. comment
    Comment #30824376

    I use Zig and cargo-zigbuild to cross-compile my Rust projects. It simply works, without Docker, if I want it to use older GLIBC symbols for an embedded Linux target running an anc…

  23. comment
    Comment #29678292

    FWIW, the Read/Write traits have a vectored read/write method, which File implements using readv/writev on supporting Unix platforms: https://doc.rust-lang.org/src/std/sys/unix/fd.…

  24. comment
    Comment #29378765

    Official response: https://blog.jetbrains.com/blog/2021/11/29/welcome-to-fleet/... It’s written in Kotlin mainly, a little bit of Rust for native parts, Skiko (Skija + AWT) The UI …

  25. comment
    Comment #28783361

    Well, for one, in the Rust version, check(i32::MIN) will return false if built with overflow checks disabled (the default for release builds). C++ will of course always return true…