frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

I've been coding with AI for two years. Here is what I've learned

https://nathanpeck.com/ive-been-coding-with-ai-for-two-years-here-is-what-i-learned/
1•cebert•7m ago•0 comments

Links? Links – Infrequently Noted

https://infrequently.org/2025/07/links/
1•cratermoon•9m ago•0 comments

Cheating? Or the acumen of modern programming? FOSS, "AI", and human conscience

https://gist.github.com/guest271314/17c9daac37101538c9baa6df72aaaefb
1•thunderbong•18m ago•0 comments

LLM Benchmarking Shows Capabilities Doubling Every 7 Months

https://spectrum.ieee.org/llm-benchmarking-metr
1•mparramon•20m ago•0 comments

The Geological Sublime

https://harpers.org/archive/2025/07/the-geological-sublime-lewis-hyde-deep-time/
2•prismatic•21m ago•0 comments

Predicting Earthquakes

https://www.worksinprogress.news/p/a-50-million-foundation-model-to
1•sien•22m ago•0 comments

Garum Sardiniae in Tabula: Rediscovering the Ancient Taste of Roman Cuisine

https://exarc.net/issue-2023-3/at/garum-sardiniae-tabula-rediscovering-ancient-taste-roman-cuisine
1•airstrike•25m ago•0 comments

Mercedes-Benz adds support for Teams app, Intune integration, and Copilot

https://media.mercedes-benz.com/article/931e7af1-2d57-4e90-9e1e-252289e70648
1•throw0101d•47m ago•1 comments

Which Economic Tasks Are Performed with AI? Evidence from Claude Conversations

https://arxiv.org/abs/2503.04761
1•Bogdanp•51m ago•0 comments

The internet keeps getting worse. Let's talk about why [video]

https://www.youtube.com/watch?v=YcW9IB5e3_E
1•raythanwho•59m ago•0 comments

EurIPS: Present NeurIPS Papers in Europe

https://eurips.cc/
1•yza•1h ago•1 comments

NASA won't publish key climate change report online, citing no legal obligation

https://www.space.com/science/climate-change/nasa-wont-publish-key-climate-change-report-online-citing-no-legal-obligation-to-do-so
2•OutOfHere•1h ago•0 comments

Foreign YouTube stars secretly paid by UK Government for propaganda

https://www.thenational.scot/news/25318776.foreign-youtube-stars-secretly-paid-uk-government-propaganda/
3•duke_of_tharsis•1h ago•0 comments

Eight healthy babies born after IVF using DNA from three people

https://www.theguardian.com/science/2025/jul/16/eight-healthy-babies-born-after-ivf-using-dna-from-three-people
1•wicket•1h ago•1 comments

Show HN: Running Linux Inside Node.js

1•ridruejo•1h ago•0 comments

Show HN: Open-source business management tool for small business

https://github.com/oitcode/samarium
1•azaz12•1h ago•0 comments

Researchers announce babies born from a trial of three-person IVF

https://www.technologyreview.com/2025/07/16/1120285/babies-born-trial-of-three-person-ivf/
1•gnabgib•1h ago•0 comments

Ctfoigt

https://boz.com/articles/ctfoigt
1•swyx•1h ago•0 comments

Show HN: Cobble – A hard daily word game

https://wilf.live/cobble/
3•wolfred•1h ago•0 comments

Scandal-Ridden Fyre Festival Is Sold for $245,000 on eBay

https://www.nytimes.com/2025/07/16/us/fyre-fesival-sold-ebay.html
2•defrost•1h ago•0 comments

Why 1Password hasn't released an MCP server

https://blog.1password.com/where-mcp-fits-and-where-it-doesnt/
12•flxfxp•1h ago•4 comments

Show HN: LinkMonster – Share multiple links easily

https://link-monster.com/
2•atharv_sardesai•1h ago•1 comments

As democracy in Georgia collapses, Russia, China and Iran see an opening

https://www.cnn.com/2025/07/16/europe/georgia-protests-russia-china-iran-influence-intl-cmd
8•breve•1h ago•0 comments

Canada's oil sands transformed into one of North America's lowest-cost plays

https://www.reuters.com/business/energy/how-canadas-oil-sands-transformed-into-one-north-americas-lowest-cost-plays-2025-07-16/
1•pseudolus•1h ago•0 comments

VibeTunnel's First AI-Anniversary

https://steipete.me/posts/2025/vibetunnel-first-anniversary
1•nojito•1h ago•0 comments

More advanced AI capabilities are coming to Google Search

https://blog.google/products/search/deep-search-business-calling-google-search/
1•dlojudice•1h ago•1 comments

Brooks, Books, and the Imagined Realties of Publishing

https://countercraft.substack.com/p/brooks-books-and-the-imagined-realties
1•crescit_eundo•1h ago•0 comments

Internet-safe iPhone for children goes on sale for £99 a month

https://www.theguardian.com/technology/2025/jul/16/internet-safe-sage-iphone-for-children-goes-on-sale-in-uk-for-99-pounds-a-month
1•miles•1h ago•0 comments

Onlycats

https://onlycats.gg/
36•rustystump•1h ago•17 comments

“Reading Rainbow” was created to combat summer reading slumps

https://www.smithsonianmag.com/smithsonian-institution/to-combat-summer-reading-slumps-this-timeless-childrens-television-show-tried-to-bridge-the-literacy-gap-with-the-magic-of-stories-180986984/
29•arbesman•1h ago•2 comments
Open in hackernews

cppyy: Automatic Python-C++ Bindings

https://cppyy.readthedocs.io/en/latest/
73•gjvc•14h ago

Comments

rich_sasha•12h ago
How very interesting. Only a few days ago I was reminiscing about scipy.weave, a horrendous hack and miracle of productivity in Python at the same time. It let users write inline C++, which would get compiled/cached into ephemeral extension modules. For certain jobs, and C++ users, beats numba, cython etc cleanly out of the water. It is sadly deprecated and long time not maintained. Is this a suitable replacement?

AFAICT this does not quite produce true binaries, but rather interprets C++ via Cling, is that right? And the docs only offer that C++-like speeds are achieved for PyPy. If there are any performance benchmarks for CPython3, I can't see find them. Thats the real question - few people combine Python and C++ just for the fun of it.

EDIT some benchmarks are available in this paper, linked from TFA: https://wlav.web.cern.ch/wlav/Cppyy_LavrijsenDutta_PyHPC16.p... But they don't really answer my question. The benchmarks seem to mostly look at the overhead of wrapping C++, rather than comparing to a Python implementation. There is some I/O involved in some of them, which is maybe not so interesting, and some of the benchmarks don't even have a pure CPython implementation. Where they do, speed is very close. But then the paper is from 2018, a lot may have changed.

almostgotcaught•12h ago
the purpose of this tool isn't to "accelerate" python or whatever - it's to bind cpp.

> AFAICT this does not quite produce true binaries, but rather interprets C++ via Cling, is that right?

yes but to be very clear: it's not designed to interpret arbitrary cpp but calls and ctors and field accesses. the point is binding. also it can use cling or clang-repl.

jononor•12h ago
It is pretty easy and convenient to write extensions using pybind11, including passing numpy arrays. It takes 10 lines in setup.py and around 10 lines in a .cpp file, run setup.py build_ext to build it. Not quite the convenience of inline - but in practice pretty nice. My only nit in that compile time is around 3 seconds on my machine.
iopapa•11h ago
If not doing anything edge-casey, nanobind[0] is extremely pleasant to use. It’s a rewrite of pybind11 specifically designed for the 80/20 use-cases and solves the long compile times. I have used it extensively over the last year in atopile[1] if someone is looking for a real-world production code example. We are using nanobind paired with hatch & scikit-build.

I suggest having a look at the pyproject and src/faebryk/core/cpp.

[0] https://github.com/wjakob/nanobind [1] https://github.com/atopile/atopile

almostgotcaught•11h ago
> solves the long compile times

this only goes so far - if you try to eg bind O(10k) methods using nanobind (or pybind ofc) you will be compiling for a very long time. for example, i have a threadripper and with a single large TU (translation unit) it took about 60 minutes (because single TU <-> single thread). i had to "shard" my nanobind source to get down to a "reasonable" ~10 minutes.

happy_dog1•10h ago
I love nanobind, use it all the time and highly recommend it. It makes it very easy to pass numpy, PyTorch, cupy or tensorflow arrays to your C++ extension, to specify what array shape and flags are expected, and to wrap either C++ or Cuda code. When paired with scikit-build, it makes building Python packages with C++ extensions a breeze. I would give it more than one star on github if I could.
beng-nl•11h ago
I’m a bit surprised (but interested) to read it beats cython (in performance I assume). Cython can - and for performance, should - be written so that loops and code in loops are pure C code without any Python interaction. Even the GIL can be released. Maybe I’m making too many assumptions about the two cases, but in what way do you see cython being beaten given the above?

Thanks!

rich_sasha•10h ago
IME performant Cython is quite hard to write. Simply renaming your file to *.pyx speeds it up, very much finger in the air, by factor 2x on compute-heavy tasks.

Then you sprinkle some cdef around etc and you get a bit faster again. You rewrite your algo a bit, so it's more "stateful C" style, which is not so much the Python way, and it gets a little faster. But not that much.

So then to make real gains you have to go into the weeds of what is going on. Look at the Cython bottlenecks, usually the spots where Cython has to revert to interacting with the Python interpreter. You may go down the rabbit holes of Cython directives, switching off things like overflow checks etc. IME this is a lot of trial and error and isn't always intuitive. All of this is done in a language that, by this point, is superficially similar to Python but might as well not be. The slowness comes no longer from algorithmic logic or Python semantics but from places where Cython escapes out to the Python interpreter.

At this point, C++ may offer a respite, if you are familiar with the language. Because performance tradeoffs are very obvious in code right in front of you. You get no head start in terms of Pythonic syntax, but otherwise you are writing pure C++ and its so much easier to reason with the performance.

I would imagine that very well written Cython is close in performance to C++ but for someone who knows a bit of C++ and only occasionally writes Cython, the former is much easier to make fast.

boothby•7h ago
I write performant cython all the time, as a glue language. Write your "business logic" in Python. Write your class definitions and heavyweight algorithms in C++. Write your API in Cython. If you're writing your business logic and heavyweight algorithms all in cython, you're in for some misery.
ashvardanian•12h ago
In case you are searching for fun use-cases, here's how one experiment with weird similarity metrics & kNN data-structures via Cppyy (for C++ kernel), Numba (for Python), or PeachPy (for x86 Asm), interacting with a precompiled engine: https://github.com/unum-cloud/usearch/blob/main/python/READM...
bogeholm•12h ago
The project name reminds me of the BBBQ where the B is for BYOBB
actinium226•11h ago
If I used cppyy in a project that I then made into a pip package, how would this affect distribution? It sounds like the end-user downloading the code would need a C++ compiler on their system, or does cppyy come with one?
actinium226•11h ago
Answering my own question, it seems they ship LLVM with it: https://cppyy.readthedocs.io/en/latest/philosophy.html#llvm-...
Someone•6h ago
But then, you’d need a compiler to compile LLVM before you can use it, wouldn’t you? Or do they include a prebuilt one that, then, will only support one CPU architecture?
dang•11h ago
Related:

Cppyy – Automatic Python-C++ bindings - https://news.ycombinator.com/item?id=19848450 - May 2019 (22 comments)

wslh•10h ago
If you like this, don't forget to take a look at SWIG [1] which supports a variety of programming language targets, including Python.

[1] https://www.swig.org/

f1shy•8h ago
Does somebody have experience how does this compares to LLM? I found it is a good use case for “AI programming” I had decent results.