Better HN
topnewbestaskshowjobs
Log inSign up

robomei

1 karma · joined Apr 21, 2026 (7mo ago) · 6 submissions

Submissions

1.

Newton, a physics simulation engine built on Nvidia Warp(newton-physics.github.io ↗)

2 points · by robomei · 7mo ago · discuss

comment 7mo ago · link · parent

There is a big difference between just “vibe coding” without reviewing the code and actually knowing what you’re doing and checking everything the AI produces.

In my opinion, humans don’t really need to write code anymore. The main skill is steering AI models.

comment 7mo ago · link · parent

I found it annoying to set up a build system and write binding code, when I just wanted to speed up a few Python functions with C++ code. Magicbind automatically parses your C++ header with libclang, generates nanobind bindings and compiles it with either your system compiler (g++, clang, msvc) or with an integrated zig c++ compiler that is shipped with ziglang Python package. So it always works out of the box without any dependencies.

Essentially you just have to add magicbind Python package, call "magicbind add mylib.h" and you can directly import and use mylib in your Python code.

It supports most of the STL type conversions out of the box and also supports conversion from OpenCV types (cv::Mat, cv::Rect, ..). You can also use it directly from a Jupyter notebook.

Repo: https://github.com/robomei/magicbind

comment 7mo ago · link · parent

I found it annoying to set up a build system and write binding code, when I just wanted to speed up a few Python functions with C++ code. Magicbind automatically parses your C++ header with libclang, generates nanobind bindings and compiles it with either your system compiler (g++, clang, msvc) or with an integrated zig c++ compiler that is shipped with ziglang Python package. So it always works out of the box without any dependencies.

Essentially you just have to add magicbind Python package, call "magicbind add mylib.h" and you can directly import and use mylib in your Python code.

It supports most of the STL type conversions out of the box and also supports conversion from OpenCV types (cv::Mat, cv::Rect, ..). You can also use it directly from a Jupyter notebook. You can try it out in Colab: https://colab.research.google.com/github/robomei/magicbind/b...

5.

Magicbind, automatically build Python extension modules from C++(github.com ↗)

1 points · by robomei · 7mo ago · 1 comment