frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Mechanical Watch: Exploded View

https://fellerts.no/projects/epoch.html
811•fellerts•16h ago•99 comments

Python can run Mojo now

https://koaning.io/posts/giving-mojo-a-spin/
126•cantdutchthis•2d ago•38 comments

I wrote my PhD Thesis in Typst

https://fransskarman.com/phd_thesis_in_typst.html
290•todsacerdoti•10h ago•144 comments

Show HN: Ariadne – A Rust implementation of aperiodic cryptography

https://codeberg.org/CipherNomad/Ariadne
11•ciphernomad-org•3h ago•9 comments

Using Home Assistant, adguard home and an $8 smart outlet to avoid brain rot

https://www.romanklasen.com/blog/beating-brainrot-by-button/
207•remuskaos•11h ago•106 comments

New Linux udisks flaw lets attackers get root on major Linux distros

https://www.bleepingcomputer.com/news/linux/new-linux-udisks-flaw-lets-attackers-get-root-on-major-linux-distros/
25•smig0•2d ago•3 comments

Finding a billion factorials in 60 ms with SIMD

https://codeforces.com/blog/entry/143279
96•todsacerdoti•8h ago•8 comments

Polystate: Composable Finite State Machines

https://github.com/sdzx-1/polystate
46•goless•5h ago•21 comments

Klein Bottle Amazon Brand Hijacking (2021)

https://www.kleinbottle.com/Amazon_Brand_Hijacking.html
199•sebg•12h ago•86 comments

The X Window System didn't immediately have X terminals

https://utcc.utoronto.ca/~cks/space/blog/unix/XTerminalsNotImmediate
23•zdw•3h ago•7 comments

The Tandy Corporation

https://www.abortretry.fail/p/the-tandy-corporation-part-1
24•rbanffy•2d ago•12 comments

Using Wave Function Collapse to solve puzzle map generation at scale

https://sublevelgames.github.io/blogs/2025-06-22-nurikabe-map-gen-with-wfc/
35•greentec•6h ago•8 comments

Tensor Manipulation Unit (TMU): Reconfigurable, Near-Memory, High-Throughput AI

https://arxiv.org/abs/2506.14364
29•transpute•5h ago•3 comments

Show HN: Lego Island Playable in the Browser

https://isle.pizza
63•foxtacles•8h ago•17 comments

Encounters with Reality on Christine Rosen's the Extinction of Experience

https://thepointmag.com/criticism/encounters-with-reality/
6•prismatic•3d ago•0 comments

Optifye.ai (YC W25) – Founding Back End Engineer

1•Vivaan_Baid•6h ago

Adobe Project Indigo is a new photo app from former Pixel camera engineers

https://www.engadget.com/apps/adobe-project-indigo-is-a-new-photo-app-from-former-pixel-camera-engineers-213453207.html
66•bookofjoe•2d ago•46 comments

Cross-Account and Cross-Region Backups with AWS Backup (and Friends)

https://tylerrussell.dev/2025/06/20/cross-account-and-region-backups-with-aws-backup-and-friends/
32•terussell85•2d ago•10 comments

AGI is Mathematically Impossible 2: When Entropy Returns

https://philarchive.org/archive/SCHAIM-14
130•ICBTheory•13h ago•196 comments

Radio Garden

https://radio.garden/?2025
78•LeoPanthera•10h ago•14 comments

How to negotiate your salary package

https://www.complexsystemspodcast.com/episodes/how-to-negotiate-your-salary-package/
290•surprisetalk•4d ago•247 comments

A New Nova Just Appeared in the Night Sky – You Can See It with the Naked Eye

https://www.iflscience.com/unexpected-nova-just-appeared-in-the-night-sky-and-you-can-see-it-with-the-naked-eye-79708
7•tzury•46m ago•1 comments

2048 with only 64 bits of state

https://github.com/izabera/bitwise-challenge-2048
131•todsacerdoti•3d ago•32 comments

Hawaii Highways

http://www.hawaiihighways.com/
49•yakattak•8h ago•17 comments

The cultural decline of literary fiction

https://oyyy.substack.com/p/the-cultural-decline-of-literary
154•libraryofbabel•15h ago•274 comments

Interview with Francine Prose on early-1970s San Francisco [audio]

https://www.laphamsquarterly.org/content/episode-3-francine-prose
52•keiferski•11h ago•7 comments

Disabling Intel Graphics Security Mitigation Boosts GPU Compute Performance 20%

https://www.phoronix.com/news/Disable-Intel-Gfx-Security-20p
5•rcarmo•39m ago•0 comments

We’ve had a Denisovan skull since the 1930s—only nobody knew

https://arstechnica.com/science/2025/06/the-controversial-dragon-man-skull-was-a-denisovan/
82•Bluestein•4d ago•23 comments

2025 Alonzo Church Award: Paul Blain Levy for Call-by-Push-Value (CBPV)

https://siglog.org/winner-of-the-2025-alonzo-church-award/
27•matt_d•1d ago•3 comments

LeetCode for System Design

https://leetsys.dev
58•rbajp•3h ago•43 comments
Open in hackernews

Python can run Mojo now

https://koaning.io/posts/giving-mojo-a-spin/
126•cantdutchthis•2d ago

Comments

mindwok•4h ago
I am really rooting for Mojo. I love what the language is trying to do, and making it easier to run SOTA AI workloads on hardware that isn't Nvidia + CUDA will open up all kinds of possibilities.

I'm just nervous how much VC funding they've raised and what kind of impacts that could have on their business model as they mature.

mkaic•3h ago
If they can manage to make good on their plans to open-source it, I'll breathe a tentative sigh of relief. I'm also rooting for them, but until they're open-source, I'm not willing to invest my own time into their ecosystem.
almostgotcaught•3h ago
> Functions taking more than 3 arguments. Currently PyTypeBuilder.add_function() and related function bindings only support Mojo functions that take up to 3 PythonObject arguments: fn(PythonObject, PythonObject, PythonObject).

Lol wut. For the life of me I cannot fathom what design decision in their cconv/ABI leads to this.

rybosome•1h ago
I was wondering if it is function overloads of the same name, defining it non-variadically:

add_function(PythonObject)

add_function(PythonObject, PythonObject)

add_function(PythonObject, PythonObject, PythonObject)

There was a similar pattern in the Guava library years ago, where ImmutableList.of(…) would only support up to 20 arguments because there were 20 different instances of the method for each possible argument count.

js2•3h ago
For anyone not up to speed on Mojo: Mojo is a pythonic language for blazing-fast CPU+GPU execution without CUDA:

https://news.ycombinator.com/item?id=35790367

GeekyBear•3h ago
Chris Lattner (the tech lead behind Mojo, LLVM, Clang, Swift and MLIR) appeared on a podcast a bit over a week ago and discussed the state of Mojo and where it is going.

He also discussed open sourcing Mojo and where the company expects to make its money.

https://www.youtube.com/watch?v=04_gN-C9IAo

mattclarkdotnet•2h ago
That video is restricted, do you have a public link?
GeekyBear•2h ago
Sorry, but I'm not having any issue with that link.

Here is a link to the episode listing for that podcast, which might help.

https://www.youtube.com/@LatentSpacePod

abybaddi009•2h ago
Doesn't seem to be restricted. Do you mean region locked?
duttish•2h ago
Just worked fine for me.

I'm logged into youtube, if you're not something with that perhaps?

tgma•3h ago
I hope this ends up superseding Cython
williamstein•2h ago
Same, and I literally started Cython. :-)
Tiberium•3h ago
> as I'm definitely in the market for a simple compiled language that can offer Python some really fast functions So, Nim? https://github.com/yglukhov/nimpy
mindwok•2h ago
The real point of Mojo is not the language, it's the deep roots into MLIR which is an attempt to do what LLVM did for compilers, and do it on GPUs / ML hardware. Chris Lattner is leading the project and he created LLVM and MLIR.
benrutter•2h ago
I've never been thats sold on Mojo, I think I'm unfairly biased away from it because I find new languages interesting, and its big sell is changing as little as possible from an existing language.

That said, importing into Python this easily is a pretty big deal. I can see a lot of teams who just want to get unblocked by some performance thing, finding this insanely helpful!

atomicapple•1h ago
> its big sell is changing as little as possible from an existing language.

This is not really true. Even though Mojo is adopting Python's syntax, it is a drastically different language under the hood. Mojo is innovating in many directions (eg: mlir integration, ownership model, comptime, etc). The creators didn't feel the need to innovate on syntax in addition to all that.

benrutter•1h ago
You're right- I probably should have said something like "part of its sell" or "one of its selling points" or something.

I didn't mean to undermine the ambitious goals the project has. I still wish it was a little bolder on syntax though, Python is a large and complex language as is, so a superset of Python is inherently going to be a very complicated language.

anon-3988•2h ago
I am not that intrigued that Python that can call some pre-compiled functions, this is already possible with any language that produces a dynamic library.

The space that I am interested in is execution time compiled programs. A usecase of this is to generate a perfect hash data structure. Say you have a config file that lists out the keywords that you want to find, and then dynamically generate the perfect hash data structure compiled as if those keywords are compile time values (because they are).

Or, if the number of keywords is too small, fallback to a linear search method. All done in compile time without the cost of dynamic dispatch.

Of course, I am talking about numba. But I think it is cursed by the fact that the host language is Python. Imagine if Python is stronger typed, it would open up a whole new scale of optimization.

devjab•2h ago
> I am not that intrigued that Python that can call some pre-compiled functions, this is already possible with any language that produces a dynamic library.

> The space that I am interested in is execution time compiled programs. A usecase of this is to generate a perfect hash data structure. Say you have a config file that lists out the keywords that you want to find, and then dynamically generate the perfect hash data structure compiled as if those keywords are compile time values (because they are).

I'm not sure I understand you correctly, but these two seem connected. If I were to do what you want to do here in Python I'd create a zig build-lib and use it with ctypes.

anon-3988•1h ago
Can Zig recompile itself if I change a config in production? I am talking about this

``` python program.py --config <change this> ```

It is basically a recompilation of the whole program at every execution taking into account the config/machine combination.

So if the config contains no keyword for lookup, then the program should be able to be compiled into a noop. Or if the config contains keyword that permits a simple perfect hash algorithm, then it should recompile itself to use that mechanism.

I dont think any of the typical systems programming allows this.

pjmlp•1h ago
I would rather image CPython being like Common Lisp, Scheme, Raket, Smalltalk, Self compilation model.

Sadly the contenders on the corner get largely ignored, so we need to contend with special cased JIT DSLs, or writing native extensions, as in many cases CPython is only implementation that is available.

boguscoder•2h ago
Are labels on first output misplaced or mojo was actually slower?

’’’ 3628800 Time taken: 3.0279159545898438e-05 seconds for mojo

3628800 Time taken: 5.0067901611328125e-06 seconds for python ’’’

que-encrypt•2h ago
My guess is that the slight overhead of interacting with mojo led to this speed discrepancy, and if a higher factorial (that was within the overflow limits etc) was run, this overhead would become negligible (as seen by the second example). Also similar to jax code being slower than numpy code for small operations, but being much faster for larger ones on cpus etc.
gjvc•2h ago
i wish python were as fast as perl for equivalent string-based workloads
ValtteriL•2h ago
Was lowkey hoping this was about Mojolicious, the Perl web framework
amval•1h ago
For a language that announced itself (and raised a lot of money on the premise of) claiming to be "a Python superset", this does not sound like a huge achievement.

In all fairness, their website now reads: "Mojo is a pythonic language for blazing-fast CPU+GPU execution without CUDA. Optionally use it with MAX for insanely fast AI inference."

So I suppose now is just a compiled language with superficially similar syntax and completely different semantics to Python?

boxed•33m ago
I believe they're still working towards making the syntax and semantics more python-like.
dragonwriter•21m ago
The real unique selling point of Mojo is "CPU+GPU execution without CUDA", specifically, you write code that looks like code without worrying about distinctions like kernels and device functions and different ways of writing code that runs on GPU vs. code that runs on CPU, and mojo compiles it to those things.
Certhas•19m ago
I think it was pretty clear immediately that running python code was a far away goal. There was a lot more talk about lifetimes and ownership semantics than details about Python interop. Mojo is more like: Can we take the learnings of Swift and Rust and solve the usability and compile time issues, while building on MLIR to target arbitrary architectures efficiently (and call it a Python superset to raise VC money).

That said, the upside is huge. If they can get to a point where Python programmers that need to add speed learn Mojo, because it feels more familiar and interops more easily, rather than C/CPP that would be huge. And it's a much lower bar than superset of python.

amval•6m ago
It marketed itself explicitly as a "Python superset", which could allow Python programmers to avoid learning a second language and write performant code.

I'd argue that I am not sure what kind of Python programmer is capable of learning things like comptime, borrow checking, generics but would struggle with different looking syntax. So to me this seemed like a deliberate misrepresentation of the actual challenges to generate hype and marketing.

Which fair enough, I suppose this is how things work. But it should be _fair_ to point out the obvious too.

dismalaf•14m ago
It was never going to have Python semantics and be fast. Python isn't slow because of a lack of effort or money, it's slow because of all the things happening in the interpreter.
saghm•9m ago
> For a language that announced itself (and raised a lot of money on the premise of) claiming to be "a Python superset", this does not sound like a huge achievement

I feel like that depends quite a lot on what exactly is in the non-subset part of the language. Being able to use a library from the superset in the subset requires being able to translate the features into something that can run in the subset, so if the superset is doing a lot of interesting things at runtime, that isn't necessarily going to be trivial.

(I have no idea exactly what features Mojo provides beyond what's already in Python, so maybe it's not much of an achievement in this case, but my point is that this has less to do with just being a superset but about what exactly the extra stuff is, so I'm not sure I buy the argument that the marketing you mention of enough to conclude that this isn't much of an achievement.)

JonChesterfield•1h ago
The factorial test giving zero on majo suggests they aren't doing arbitrary precision integer arithmetic.

I liked mojo as a python superset. Wanted to be able to run arbitrary python through it and selectively change parts to use the new stuff.

A "pythonic language" sounds like that goal has been dropped, at which point the value prop is much less clear to me.

bishabosha•57m ago
They explicitly casted it to an 'Int' on the mojo side, but the modular website claims that isnt a specific bit-width so i am surprised
pjmlp•1h ago
Given that NVidia now decided to get serious with Python JIT DSLs in CUDA as announced at GTC 2025, I wonder how much mindshare Mojo will managed win across researchers.

"1001 Ways to Write CUDA Kernels in Python"

https://www.youtube.com/watch?v=_XW6Yu6VBQE

"The CUDA Python Developer’s Toolbox"

https://www.nvidia.com/en-us/on-demand/session/gtc25-S72448/

"Accelerated Python: The Community and Ecosystem"

https://www.youtube.com/watch?v=6IcvKPfNXUw

"Tensor Core Programming in Python with CUTLASS 4.0"

https://www.linkedin.com/posts/nvidia-ai_python-cutlass-acti...

There is also Julia, as the black swan many outside Python community have moved into, with much more mature tooling, and first tier Windows support, for those researchers that for whatever reason have Windows issued work laptops.

https://info.juliahub.com/industries/case-studies

Mojo as programming language seems interesting as language nerd, but I think the judge is still out there if this is going to be another Swift, or Swift for Tensorflow, in regards to market adoption, given the existing contenders.

fulafel•52m ago
The limitations of DSLs and the pull of Python make it a practical sweet spot I think if they manage to get the Python compatibility up to par.
bsaul•6m ago
Mojo is marketed as a way to get maximum hardware performance on any hardware, not just nvidia.

This may appeal to people wanting to run their code on different hardware brands fro various reasons.

b33j0r•11m ago
I’m someone who should be really excited about this, but I fundamentally don’t believe that a programming language can succeed behind a paywall or industry gatekeeper.

I’m always disappointed when I hear anything about mojo. I can’t even fully use it, to say nothing of examine it.

We all need money, and like to have our incubators, but the LLVM guy thinks like Jonathan Blow with jai?

I don’t see the benefit of joining an exclusive club to learn exclusively-useful things. That sounds more like a religion or MLM than anything RMS ever said :p