frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Making Julia as Fast as C++ (2019)

https://flow.byu.edu/posts/julia-c++
16•d_tr•2d ago

Comments

slwvx•2d ago
From 2019
ForceBru•1h ago
Recent discussion on Julia Discourse: https://discourse.julialang.org/t/making-julia-as-fast-as-c/
StilesCrisis•24m ago
Punchline: rewrote the code to look almost identical to C++, hand-held the compiler by adding @-marks to disable safety checks, forced SIMD codegen and fastmath on.

End result: code that is uglier and still much slower than C++. Kind of a shame.

brabel•4m ago
> code that is uglier and still much slower than C++.

Oh such a shame indeed! They didn’t even manage to produce better looking code at least?? Julia was looking great in 2019 but it was very buggy still so I stopped looking. Had hopes that by now it would be a good choice over C++ and Rust with similar performance.

FattiMei•5m ago
Very interesting post and I think this exposes the limitations of the Julia compiler. Note that an old version of the compiler is used (1.0.3 from 2019).

One could say that we can almost replicate the semantic of a C++ program, but writing in Julia. For example we can remove bounds checks in arrays or remove hidden memory allocations.

But the goal of a language for numerical computing is capturing the mathematical formulas using high level constructs closer to the original representation while compiling to efficient code.

Domain scientists want to play with the math and the formulas, not doing common subexpression elimination in their programs. Just curious to see how it evolves

northzen•55s ago
I think the best compromise would be to get the best of two words. By default perform bound checks, but have a compiler flag which skips it. Might broke many programs written with default behaviour in mind, but allow perform additional optimizations.

A recent experience with ChatGPT 5.5 Pro

https://gowers.wordpress.com/2026/05/08/a-recent-experience-with-chatgpt-5-5-pro/
377•_alternator_•9h ago•213 comments

Google broke reCAPTCHA for de-googled Android users

https://reclaimthenet.org/google-broke-recaptcha-for-de-googled-android-users
1120•anonymousiam•17h ago•384 comments

Using Claude Code: The unreasonable effectiveness of HTML

https://twitter.com/trq212/status/2052809885763747935
190•pretext•7h ago•105 comments

OpenAI’s WebRTC problem

https://moq.dev/blog/webrtc-is-the-problem/
344•atgctg•1d ago•86 comments

Mythical Man Month

https://martinfowler.com/bliki/MythicalManMonth.html
189•ingve•2d ago•131 comments

Making Julia as Fast as C++ (2019)

https://flow.byu.edu/posts/julia-c++
16•d_tr•2d ago•6 comments

What causes lightning? The answer keeps getting more interesting

https://www.quantamagazine.org/what-causes-lightning-the-answer-keeps-getting-more-interesting-20...
86•Tomte•2d ago•16 comments

David Attenborough's 100th Birthday

https://www.bbc.com/news/articles/cp3pww9g0p5o
687•defrost•23h ago•137 comments

America's carpet capital: an empire and its toxic legacy

https://apnews.com/projects/pfas-forever-stained/
31•rawgabbit•2d ago•11 comments

Wi is Fi: Understanding Wi-Fi 4/5/6/6E/7/8 (802.11 n/AC/ax/be/bn)

https://www.wiisfi.com/
267•homebrewer•2d ago•67 comments

AI is breaking two vulnerability cultures

https://www.jefftk.com/p/ai-is-breaking-two-vulnerability-cultures
353•speckx•18h ago•138 comments

AWS North Virginia data center outage – resolved

https://www.cnbc.com/2026/05/08/aws-outage-data-center-fanduel-coinbase.html
231•christhecaribou•1d ago•156 comments

Cartoon Network Flash Games

https://www.webdesignmuseum.org/flash-game-exhibitions/cartoon-network-flash-games
353•willmeyers•19h ago•108 comments

The React2Shell Story

https://lachlan.nz/blog/the-react2shell-story/
157•mufeedvh•19h ago•11 comments

An Introduction to Meshtastic

https://meshtastic.org/docs/introduction/
461•ColinWright•1d ago•160 comments

You gave me a u32. I gave you root. (io_uring ZCRX freelist LPE)

https://ze3tar.github.io/post-zcrx.html
190•MrBruh•16h ago•111 comments

Teaching Claude Why

https://www.anthropic.com/research/teaching-claude-why
177•pretext•18h ago•87 comments

Can LLMs model real-world systems in TLA+?

https://www.sigops.org/2026/can-llms-model-real-world-systems-in-tla/
94•mad•19h ago•23 comments

Reviving the IBM Selectric Composer Fonts (2023)

https://www.kutilek.de/selectric/
4•tangus•2d ago•0 comments

Serving a website on a Raspberry Pi Zero running in RAM

https://btxx.org/posts/memory/
227•xngbuilds•20h ago•91 comments

The soul of maintaining a new machine

https://books.worksinprogress.co/book/maintenance-of-everything/communities-of-practice/the-soul-...
61•akkartik•3d ago•5 comments

Light without electricity? Glowing algae could make it possible

https://www.colorado.edu/today/2026/05/06/light-without-electricity-glowing-algae-could-make-it-p...
79•geox•2d ago•24 comments

PortalVR Motion – use any VR content in 2D with 3D tracked Joy-Cons

https://portalvr.io/motion
26•gfodor•2d ago•1 comments

Roadside Attraction

https://theoffingmag.com/essay/roadside-attraction/
23•aways•16h ago•3 comments

US Government releases first batch of UAP documents and videos

https://www.war.gov/UFO/
306•david-gpu•23h ago•443 comments

All means are fair except solving the problem

https://yosefk.com/blog/all-means-are-fair-except-solving-the-problem.html
62•akkartik•2d ago•47 comments

Bitter Lessons from the ISSpresso

https://mceglowski.substack.com/p/bitter-lessons-from-the-isspresso
106•zdw•2d ago•29 comments

When is your birthday? The math behind hash collisions

https://0xkrt26.github.io/math_behind_security/2026/05/08/birthday-problem.html
52•denismenace•15h ago•12 comments

Killswitch: Per-function short-circuit mitigation primitive

https://lwn.net/ml/all/20260507070547.2268452-1-sashal@kernel.org/
6•signa11•2h ago•0 comments

Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc

https://twitter.com/jarredsumner/status/2053047748191232310
13•heldrida•1h ago•6 comments