frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Deep learning gets the glory, deep fact checking gets ignored

https://rachel.fast.ai/posts/2025-06-04-enzyme-ml-fails/index.html
136•chmaynard•1h ago•15 comments

A deep dive into self-improving AI and the Darwin-Gödel Machine

https://richardcsuwandi.github.io/blog/2025/dgm/
21•hardmaru•1h ago•2 comments

Destination: Jupiter

https://clarkesworldmagazine.com/liptak_06_25/
55•AndrewLiptak•3h ago•18 comments

Quarkdown: A modern Markdown-based typesetting system

https://github.com/iamgio/quarkdown
564•asicsp•15h ago•240 comments

Show HN: Ephe – A Minimalist Open-Source Markdown Paper for Today

https://github.com/unvalley/ephe
8•unvalley•25m ago•0 comments

The Small World of English

https://www.inotherwords.app/linguabase/
107•michaeld123•7h ago•54 comments

Show HN: AirAP AirPlay server - AirPlay to an iOS Device

https://github.com/neon443/AirAP
113•neon443•2h ago•14 comments

Show HN: An Alfred workflow to open GCP services and browse resources within

https://github.com/dineshgowda24/alfred-gcp-workflow
31•dineshgowda24•3h ago•6 comments

(On | No) Syntactic Support for Error Handling

https://go.dev/blog/error-syntax
271•henrikhorluck•6h ago•334 comments

Activeloop (YC S18) Is Hiring Senior Back End and AI Search Engineers(Onsite, MV)

https://careers.activeloop.ai/
1•davidbuniat•2h ago

Show HN: Localize React apps without rewriting code

https://github.com/lingodotdev/lingo.dev
48•maxpr•5h ago•40 comments

CVE-2024-47081: Netrc credential leak in PSF requests library

https://seclists.org/fulldisclosure/2025/Jun/2
34•jupenur•4h ago•6 comments

Ask HN: Options for One-Handed Typing

49•Townley•3h ago•56 comments

The Shape of the Essay Field

https://paulgraham.com/field.html
48•luisb•13h ago•32 comments

Show HN: Controlling 3D models with voice and hand gestures

https://github.com/collidingScopes/3d-model-playground
76•getToTheChopin•8h ago•17 comments

Show HN: I wrote a Java decompiler in pure C language

https://github.com/neocanable/garlic
136•neocanable•10h ago•67 comments

Swift at Apple: Migrating the Password Monitoring Service from Java

https://www.swift.org/blog/swift-at-apple-migrating-the-password-monitoring-service-from-java/
172•fidotron•6h ago•124 comments

Can adults grow new brain cells?

https://www.livescience.com/health/neuroscience/can-adults-grow-new-brain-cells
36•bookofjoe•2h ago•12 comments

Show HN: Gradle plugin for faster Java compiles

https://github.com/elide-dev/gradle
7•sgammon•3h ago•4 comments

Yoshua Bengio Launches LawZero: A New Nonprofit Advancing Safe-by-Design AI

https://lawzero.org/en/news/yoshua-bengio-launches-lawzero-new-nonprofit-advancing-safe-design-ai
36•WillieCubed•2h ago•23 comments

Vision Language Models Are Biased

https://vlmsarebiased.github.io/
105•taesiri•10h ago•84 comments

Polish engineer creates postage stamp-sized 1980s Atari computer

https://arstechnica.com/gadgets/2025/06/polish-engineer-creates-postage-stamp-sized-1980s-atari-computer/
4•dangle1•31m ago•0 comments

There should be no Computer Art (1971)

https://dam.org/museum/essays_ui/essays/there-should-be-no-computer-art/
66•glimshe•13h ago•100 comments

Builder.ai Collapses: $1.5B 'AI' Startup Exposed as 'Indians'

https://www.ibtimes.co.uk/builderai-collapses-15bn-ai-startup-exposed-actually-indians-pretending-bots-1734784
268•healsdata•9h ago•171 comments

Technical Guide to System Calls: Implementation and Signal Handling in Modern OS

https://mohitmishra786.github.io/chessman/2025/03/31/Technical-Guide-to-System-Calls-Implementation-and-Signal-Handling-in-Modern-Operating-Systems.html
13•signa11•6h ago•4 comments

Show HN: PinSend – Share text between devices using a PIN(P2P, no login)

https://pinsend.app
50•avovsya•8h ago•29 comments

Oh fuck! How do people feel about robots that leverage profanity?

https://arxiv.org/abs/2505.05831
15•rolph•6h ago•32 comments

Plutonium Mountain: The 17-year mission to guard remains of Soviet nuclear tests

https://www.belfercenter.org/publication/plutonium-mountain-inside-17-year-mission-secure-legacy-soviet-nuclear-testing
75•jmillikin•13h ago•42 comments

Fun with Futex

https://blog.fredrb.com/2025/06/02/futex-fun/
73•ingve•16h ago•20 comments

The Metamorphosis of Prime Intellect (1994)

https://localroger.com/prime-intellect/mopiall.html
143•lawrenceyan•19h ago•67 comments
Open in hackernews

TPDE: A Fast Adaptable Compiler Back-End Framework

https://arxiv.org/abs/2505.22610
60•npalli•1d ago

Comments

BarakWidawsky•1d ago
If this is a faster backend for LLVM, does it potentially obviate the niche Cranelift is optimizing for?
npalli•1d ago
While they used Cranelift IR itself (amongst others, not just LLVM) to show performance improvements (thus making it complementary and not a replacement) you raise a good point. Quite possible it is not as full-featured yet so perhaps in the future, if at all.

The TPDE-based back-end compiles 4.27x faster than Cranelift and 2.68x faster than Cranelift with its fast register allocator, but is 1.74x slower than Winch

cfallin•1d ago
They're hitting another design point on the compile time vs. code-quality tradeoff curve, which is interesting. They compile 4.27x faster than Cranelift with default (higher quality) regalloc, but Cranelift produces code that runs 1.64x faster (section 6.2.2).

This isn't too surprising to me, as the person who wrote Cranelift's current regalloc (hi!) -- regalloc is super important to run-time perf, so for Wasmtime's use-case at least, we've judged that it's worth the compile time.

TPDE is pretty cool and it's great to see more exploration in compiler architectures!

npalli•1d ago
Source code for the framework

https://github.com/tpde2/tpde

vlovich123•1d ago
> Performance results on SPECint 2017 show that we can compile LLVM-IR 8--24x faster than LLVM -O0 while being on-par in terms of run-time performance

Wait - it’s 8-24x faster than O0 while producing code on par with O3???

ummonk•1d ago
No, the generated code is on par with LLVM -O0. It's slower than LLVM -O1, never mind LLVM -O3.
wiz21c•1d ago
I guess it doesn't include linking ? (which takes quite some time)
andyferris•1d ago
One thing I never understood in this context here (fast JIT/debug builds/hot reloads/-O0) is why you would need much static linking. Generally your modules are going to have a DAG relationship. Even code inside a large compilation unit could potentially be factored out (automatically) into smaller modules. Could you not just generate a bunch of small dynamically linked libraries? Would the system dynamic loader become the speed bottleneck? Even if so, wouldn't reloading just a portion of the DAG in a hot-reload context be much faster than linking everything beforehand?
xiphias2•1d ago
It's great start, but what would be cooler if they really went through the boring part, which is putting it into LLVM as the new default -O0 compiler.

Edit: LLM to LLVM

npalli•1d ago
You mean LLVM, cause I was confused why you would put into an LLM (which one?)
xiphias2•1d ago
Sure, I meant LLVM
fooker•1d ago
What makes this 'adaptable' and what makes this a 'framework'?

Seems like a pretty neat fast compiler backend for LLVM. Why the extra buzzwords?

t0b1•1d ago
TPDE is a framework for writing a back-end for various SSA IRs. TPDE-LLVM is an LLVM back-end written using TPDE, but TPDE itself is independent of LLVM. The paper also mentions back-ends written for Cranelift's IR and Umbra IR using TPDE.
MaskRay•15h ago
Build instructions

In the llvm/llvm-project repository

    git switch origin/release/19.x
    cmake -GNinja -S. -B/tmp/out/custom -DLLVM_TARGETS_TO_BUILD='X86;AArch64' -DLLVM_ENABLE_PROJECTS=clang -DLLVM_ENABLE_PLUGINS=off -DCMAKE_BUILD_TYPE=Release -DLLVM_LINK_LLVM_DYLIB=on
    # consider -DCLANG_ENABLE_OBJC_REWRITER=off -DCLANG_ENABLE_STATIC_ANALYZER=off -DCLANG_ENABLE_ARCMT=off -DCLANG_PLUGIN_SUPPORT=off
    ninja -C /tmp/out/custom clang LLVM FileCheck   # build clang and libLLVM.so and test utilities

In the tpde repository

    git submodule update --init
    cmake -GNinja -S. -Bout/debug -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=on -DCMAKE_PREFIX_PATH=/tmp/out/custom -DCMAKE_CXX_COMPILER=$HOME/Stable/bin/clang++ -DCMAKE_C_COMPILER=$HOME/Stable/bin/clang
/Stable/bin/clang

There are some failures:

``` % /tmp/out/custom/bin/llvm-lit out/debug/tpde/test/filetest ... Failed Tests (5): TPDE FileTests :: codegen/eh-frame-arm64.tir TPDE FileTests :: codegen/eh-frame-x64.tir TPDE FileTests :: codegen/simple_ret.tir TPDE FileTests :: codegen/tbz.tir TPDE FileTests :: tir/duplicate_funcs.tir ```

aengelke•14h ago
These are tests that use some more LLVM tools (llvm-objdump, llvm-dwarfdump, not). Could you try after building these tools in addition to FileCheck? Do the TPDE-LLVM tests, which use the same tools, pass with this setup?