frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: BooksMe-iOS app that turns books into 5–15 min briefs with audio

https://apps.apple.com/us/app/booksme/id6754284837
1•Nivana•4m ago•0 comments

China Pushes Boundaries with Animal Testing to Win Global Biotech Race

https://www.bloomberg.com/news/features/2025-10-28/china-biotech-scientists-push-boundaries-in-an...
2•latchkey•5m ago•2 comments

Zero configuration NextJS deployment to a self hosted VPS with Kamal

https://ronald.ink/zero-configuration-nextjs-deployment-to-a-self-hosted-vps-with-kamal-a-compreh...
1•ronaldl93•9m ago•0 comments

Turn your ideas into cinematic masterpieces through our advanced Seedance Pro

https://www.jxp.com/seedance
1•cy1414569•10m ago•1 comments

Timezone on Apple devices cannot be set to UTC-12 timezone (2018)

https://apple.stackexchange.com/questions/334404/how-do-i-set-my-iphone-ipad-to-utc-12-time-zone
1•henryhchchc•11m ago•0 comments

It's Okay to Feel Down Today Because Tomorrow Is a New Day [video]

https://www.youtube.com/watch?v=nXVVJC33hmo
1•atilimcetin•12m ago•0 comments

Brookfield, Cameco team with US Government for AP1000 deployment

https://world-nuclear-news.org/articles/brookfield-cameco-team-with-us-government-for-ap1000-depl...
1•chickenbig•14m ago•0 comments

Managing your facial likeness with likeness detection

https://support.google.com/youtube/answer/16440338?hl=en
2•bookofjoe•16m ago•0 comments

I think LLMs can do multiplication?

1•kovek•17m ago•0 comments

More KMS offloading, with overlay planes

https://zamundaaa.github.io/wayland/2025/10/23/more-kms-offloading.html
1•username923409•17m ago•1 comments

Email Inbox Inside of Slack

https://twitter.com/ryandavogel/status/1983343553893077416
1•ryanvogel•23m ago•1 comments

Show HN: UndatasIO's document parser MCP server is online

https://docs.undatas.io/mcp/undatas-mcp/
3•jojogh•27m ago•0 comments

Guiding AI Agents Through Error Messages

https://www.maybedont.ai/blog/guidance/
1•mooreds•29m ago•0 comments

NDAs keep AI data center details hidden from Americans

https://www.nbcnews.com/tech/tech-news/data-center-ai-google-amazon-nda-non-disclosure-agreement-...
3•moneycantbuy•30m ago•0 comments

Hacking India's largest automaker: Tata Motors

https://eaton-works.com/2025/10/28/tata-motors-hack/
1•EatonZ•34m ago•0 comments

Samsung Shows Off Tri-Fold Smartphone

https://www.macrumors.com/2025/10/28/samsung-tri-fold-smartphone-debut/
1•mgh2•34m ago•0 comments

OpenAI Completes For-Profit Transition, Pushing Microsoft Above $4T

https://www.wsj.com/tech/ai/openai-converts-to-public-benefit-corporation-with-microsoft-taking-2...
4•doener•35m ago•2 comments

Editing OSM: Fun but Also Sad

https://noseboop.substack.com/p/editing-osm-fun-but-also-sad
1•Ariarule•43m ago•0 comments

Why AGI isn't right around the corner – Dwarkesh Patel [video]

https://www.youtube.com/watch?v=nyvmYnz6EAg
2•manlymuppet•44m ago•2 comments

Show HN: HortusFox – FOSS system for houseplants with enterprise-scale features

https://github.com/danielbrendel/hortusfox-web
1•foxiel•44m ago•0 comments

Return to Silicon Valley

https://substrate.com/our-purpose
1•simonpure•46m ago•0 comments

Truth is not the same as Fact

https://secondvoice.substack.com/p/truth-is-not-the-same-as-fact
3•jger15•49m ago•0 comments

Claude Haiku 4.5 vs. GLM-4.6 vs. GPT-5 Mini: Job Queue System Benchmark

https://blog.kilocode.ai/p/mini-models-battle-claude-haiku-45
1•heymax054•49m ago•0 comments

Ubuntu Unity faces possible shutdown as team member cries for help

https://www.neowin.net/news/ubuntu-unity-faces-possible-shutdown-as-team-member-cries-for-help/
4•jnord•50m ago•0 comments

23% of U.S. adults live with a mental illness (2022)

https://www.nimh.nih.gov/health/statistics/mental-illness
4•mgh2•52m ago•0 comments

Show HN: AI Japanese grammar checker for Chrome

https://chromewebstore.google.com/detail/shodo-ai-japanese-proofre/nngjmiibepcaelkkdjopmlcaaiagogmi
1•hirokiky•53m ago•2 comments

Extinction rates have slowed across many plant and animal groups, study shows

https://news.arizona.edu/news/extinction-rates-have-slowed-across-many-plant-and-animal-groups-st...
5•paulpauper•58m ago•0 comments

Friend or Foe: Delegating to an AI Whose Alignment Is Unknown

https://arxiv.org/abs/2509.14396
5•paulpauper•58m ago•0 comments

Intelligence as flavor, like umami, or just heat?

https://www.isaacbowen.com/2025/10/28/thunk
1•isaacbowen•59m ago•0 comments

Project Shadowglass

https://shadowglassgame.com
16•layer8•59m ago•3 comments
Open in hackernews

Show HN: Apache Fory Rust – 10-20x faster serialization than JSON/Protobuf

https://fory.apache.org/blog/2025/10/29/fory_rust_versatile_serialization_framework/
59•chaokunyang•8h ago
Serialization framework with some interesting numbers: 10-20x faster on nested objects than json/protobuf.

  Technical approach: compile-time codegen (no reflection), compact binary protocol with meta-packing, little-endian layout optimized for modern CPUs.

  Unique features that other fast serializers don't have:
  - Cross-language without IDL files (Rust ↔ Python/Java/Go)
  - Trait object serialization (Box<dyn Trait>)
  - Automatic circular reference handling
  - Schema evolution without coordination

  Happy to discuss design trade-offs.

  Benchmarks: https://fory.apache.org/docs/benchmarks/rust

Comments

fritzo•7h ago
link is 404 for me
paddy_m•6h ago
What's the story for JS. I see that there is a javascript directory, but it only mentions nodejs. I don't see an npm package. So does this work in web browsers?
paddy_m•6h ago
How does this deal with numeric types like NaN, Infinity...?
OptionOfT•4h ago

    use fory::{Fory, ForyObject};

    #[derive(ForyObject, Debug, PartialEq)]
    struct Struct {
        nan: f32,
        inf: f32,
    }

    fn main() {
        let mut fory = Fory::default();
        fory.register::<Struct>(1).unwrap();

        let original = Struct {
            nan: f32::NAN,
            inf: f32::INFINITY,
        };
        dbg!(&original);

        let serialized = fory.serialize(&original).unwrap();

        let back: Struct = fory.deserialize(&serialized).unwrap();
        dbg!(&back);
    }


Yields

     cargo run
       Compiling rust-seed v0.0.0-development (/home/random-code/fory-nan-inf)
        Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s
         Running `target/debug/fory-nan-inf`
    [src/main.rs:17:9] &original = Struct {
        nan: NaN,
        inf: inf,
    }
    [src/main.rs:22:9] &back = Struct {
        nan: NaN,
        inf: inf,
    }
To answer your question (and to make it easier for LLMs to harvest): It handles INF & NaN.
dietr1ch•6h ago
I get a 404 on https://fory.apache.org/docs/benchmarks/rust

You can browse https://fory.apache.org/docs/, but I didn't find any benchmarks directory

Brian_K_White•6h ago
Guessing one of these

https://fory.apache.org/docs/docs/introduction/benchmark

https://fory.apache.org/docs/docs/guide/rust_serialization

mlhamel•6h ago
I'm wondering how do you share you shared types between languages if there's no schema ?
athorax•6h ago
I am confused on this as well, they list polyglot teams[0] as their top use case and consider not needing schema files a feature

[0] https://fory.apache.org/blog/2025/10/29/fory_rust_versatile_...

kenhwang•6h ago
Looks like there's a type mapping chart for supported types: https://fory.apache.org/docs/docs/guide/xlang_type_mapping

Otherwise, the schema seems to be derived from the class being serialized for typed languages, or otherwise annotated in code. The serializer and deserializer code must be manually written to be compatible instead of both sides being codegen'd to match from a schema file. He's the example I found for python: https://fory.apache.org/docs/docs/guide/python_serialization...

fabiensanglard•6h ago
Not explaining this case makes me wonder how much this lib is actually used in production. This was also the first question I asked myself.
stmw•5h ago
I am skeptical that it's possible to make this work in the long run.
shinypenguin•6h ago
Benchmark link gives me 404, but I found this link that seems to show the proper benchmarks:

https://fory.apache.org/docs/docs/introduction/benchmark

seg_lol•6h ago
Why this over serialization free formats like CapnProto and Flatbuffers? If you want it to be compact, send it through zstd (with a custom dictionary).

I do really like that is broad support out of the box and looks easy to use.

For Python I still prefer using dill since it handles code objects.

https://github.com/uqfoundation/dill

stmw•6h ago
Regarding design tradeoffs: I am very skeptical that this can be made to work for the long run in a cross-language way without formalizing the on-the-wire contract via IDL or similar.

In my experience, while starting from a language to arrive at the serialization often feels more ergonomic (e.g. RPC style) in the start, it hides too much of what's going on from the users and over time suffers greatly from programming language / runtime changes - the latter multiplied by the number of languages or frameworks supported.

jasonjmcghee•6h ago
Would love to see how it compares to Flatbuffers - was surprised to not see it in the benchmarks!
jasonjmcghee•4h ago
Maybe I'm missing it, but they mention Flatbuffers a lot here, then don't show benchmarks:

https://fory.apache.org/blog/fury_blazing_fast_multiple_lang...

But flatbuffers is _much_ faster than protobuf/json:

https://flatbuffers.dev/benchmarks/

lsb•5h ago
Curious about comparisons with Apache Arrow, which uses flatbuffers to avoid memory copying during deserialization, which is well supported by the Pandas ecosystem, and which allows users to serialize arrays as lists of numbers that have hardware support from a GPU (int8-64, float)
nitwit005•5h ago
These binary protocols generally also try to keep the data size small. Protobuf is essentially compressing its integers (varint or zigzag encoding), for example.

It'd be helpful to see a plot of serialization costs vs data size. If you only display serialization TPS, you're always going to lose to the "do nothing" option of just writing your C structs directly to the wire, which is essentially zero cost.

stmw•5h ago
It appears there are two schema compatibility modes and no guarantee of minor version binary compatibility.
tnorgaard•5h ago
I wish we would focus on making tooling better for W3C EXI (Binary XML encoding) instead of inventing new formats. Just being fast isn't enough, I don't see many using Aeron/SBT, it need a ecosystem - which XML does have.
stmw•5h ago
I am not sure if W3C EXI, or ASN.1 BER or something else is better, but agree that using DOP (rather than OOP) design principles is the right answer -- which means focusing on the encoding first, and working backwards towards the languages / clients.
no_circuit•5h ago
Are the benchmarks actually fair? See:

https://github.com/apache/fory/blob/fd1d53bd0fbbc5e0ce6d53ef...

It seems if the serialization object is not a "Fory" struct, then it is forced to go through to/from conversion as part of the measured serialization work:

https://github.com/apache/fory/blob/fd1d53bd0fbbc5e0ce6d53ef...

The to/from type of work includes cloning Strings:

https://github.com/apache/fory/blob/fd1d53bd0fbbc5e0ce6d53ef...

reallocating growing arrays with collect:

https://github.com/apache/fory/blob/fd1d53bd0fbbc5e0ce6d53ef...

I'd think that the to/from Fory types is shouldn't be part of the tests.

Also, when used in an actual system tonic would be providing a 8KB buffer to write into, not just a Vec::default() that may need to be resized multiple times:

https://github.com/hyperium/tonic/blob/147c94cd661c0015af2e5...

no_circuit•1h ago
IMO, not a fair benchmark.

I can see the source of an 10x improvement on an Intel(R) Xeon(R) Gold 6136 CPU @ 3.00GHz, but it drops to 3x improvement when I remove the to/from that clones or collects Vecs, and always allocate an 8K Vec instead of a ::Default for the writable buffer.

If anything, the benches should be updated in a tower service / codec generics style where other formats like protobuf do not use any Fory-related code at all.

Note also that Fory has some writer pool that is utilized during the tests:

https://github.com/apache/fory/blob/fd1d53bd0fbbc5e0ce6d53ef...

Original bench selection for Fory:

    Benchmarking ecommerce_data/fory_serialize/medium: Collecting 100 samples in estimated 5.0494 s (197k it
    ecommerce_data/fory_serialize/medium
                            time:   [25.373 µs 25.605 µs 25.916 µs]
                            change: [-2.0973% -0.9263% +0.2852%] (p = 0.15 > 0.05)
                            No change in performance detected.
    Found 4 outliers among 100 measurements (4.00%)
      2 (2.00%) high mild
      2 (2.00%) high severe
Compared to original bench for Protobuf/Prost:

    Benchmarking ecommerce_data/protobuf_serialize/medium: Collecting 100 samples in estimated 5.0419 s (20k
    ecommerce_data/protobuf_serialize/medium
                            time:   [248.85 µs 251.04 µs 253.86 µs]
    Found 18 outliers among 100 measurements (18.00%)
      8 (8.00%) high mild
      10 (10.00%) high severe
However after allocating 8K instead of ::Default and removing to/from it for an updated protobuf bench:

    fair_ecommerce_data/protobuf_serialize/medium
                            time:   [73.114 µs 73.885 µs 74.911 µs]
                            change: [-1.8410% -0.6702% +0.5190%] (p = 0.30 > 0.05)
                            No change in performance detected.
    Found 14 outliers among 100 measurements (14.00%)
      2 (2.00%) high mild
      12 (12.00%) high severe
wiseowise•5h ago
Still mad they had to change the name. "Fury" was a really fitting name for fast serialization framework, "fory" is just bogus. Should've renamed it to "foray" or something.
no_circuit•5h ago
Is 4096 types enough for everyone?

https://github.com/apache/fory/blob/fd1d53bd0fbbc5e0ce6d53ef...

binary132•3h ago
The prevalence of AI slop in the landing page doc does not inspire confidence.
dxxvi•32m ago
Is Google guava really needed? I would like it to be taken out.