libfive
cxx
Our great sponsors
libfive | cxx | |
---|---|---|
20 | 84 | |
1,190 | 4,612 | |
2.2% | - | |
2.8 | 8.4 | |
about 2 months ago | 8 days ago | |
C++ | Rust | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
libfive
-
Show HN: Make 3D art in your browser using Lisp and math
No; Bauble doesn't know how to "rasterize" SDFs into meshes; it only knows how to raymarch them. It's theoretically possible, but it's a pretty complex problem that would take me much too long to figure out and implement. So Bauble is relegated to just making pretty pictures for now. If you want to produce meshes using SDFs, check out https://libfive.com/
-
Antimony – computer-aided design tool from the Lisp machine parallel universe
This is a mid-point in Matt Keeter's research.
Start at:
http://mattkeeter.com/research/thesis.pdf
then see:
http://www.mattkeeter.com/projects/kokopelli/
then Antimony (see the article at: http://hackaday.com/2015/05/29/otherworldy-cad-software-hail... ), then the current effort:
https://github.com/libfive/libfive
(and also see: https://www.gitlab.com/kavalogic-inc/tovero "a binding of Libfive to Common Lisp, including a standalone REPL-based viewer"[https://github.com/Irev-Dev/curated-code-cad] can be integrated with https://www.gitlab.com/kavalogic-inc/clive
Currently I'm using OpenSCAD (w/ BlockSCAD as a front-end: https://www.blockscad3d.com because I prefer a sort of visual representation), but have been stymied by the lack of file I/O (I want to write out G-code).
Still looking for a 3D modeling tool which is:
- a node or block editor
- Learning CAD on Linux
- OpenSCAD 3D rendering just got an order of magnitude faster
- CadQuery –- A Python parametric CAD scripting framework based on OCCT
-
What happened Tovero (libfive bindings) and Clive (scene graph and 3D GUI) from Kavalogic and previously hosted on common-lisp.net?
From another random git commit I found it it seems the project moved to being hosted on gitlab.com under the account name "kavalogic-inc" but all the repos got deleted: - https://gitlab.com/kavalogic-inc
-
Tovero 3D Modeling system - where is it?
A recent question on AutoCAD lisp pointed to the libfive C++ library with C bindings. It's GitHub page points to the Tovero 3D Modeling system (link on Gitlab). That project is not found on Gitlab.
-
A New Era for Mechanical CAD
Or https://libfive.com/, which is less clunky (but no longer OpenSCAD-based).
-
Anyone interested in a 14x21 dactyl?
I thought that early on, and looked (several times!) for something else besides OpenSCAD that would fill the bill (i.e. language-based CAD). There were some dozen projects, and most of them had been abandoned. The closest I got was in using libfive, an f-rep system with a binding to Scheme. But it was too easy for me to cause it to put out no shape at all, and to take a long time doing it.
- Created using libfive/studio : a CAD engine built around a DSL based on guile-scheme. libFive is https://github.com/libfive/libfive Source for this object is https://gist.github.com/mds2/166f6c0b6687af31f5012d5fffbacdfa
cxx
-
Rust on Esp32
Use a C interface if you can (much easier), cxx if you absolutely need C++ features.
-
Embedded Rust is so good
You can try using Cxx to interop with C++ from Rust.
-
In which circumstances is C++ better than Rust?
Google has invested a lot of money also in https://cxx.rs/ so is not as a big deal at it should be using C++ with Rust
-
Fish (shell) porting to Rust from C++
Early on, Rust’s goal was to improve Firefox, a large C++ codebase. A bunch of language design decisions were made to ensure this could work well.
However, that doesn’t mean it’s always super easy. C++ interoperated with C even more easily: just compile your code with the new compiler! With Rust, it’s more like FFI.
https://cxx.rs/ is at the forefront here.
-
Hey Rustaceans! Got a question? Ask here (5/2023)!
There's a crate with a handy guide for doing just that: https://cxx.rs/
-
Rust Course Holiday giveaway! Learn Rust, make games, have an adventure.
It's very doable. In general, the cxx crate is your friend if you want to interoperate with C++. I haven't used it, because since I stopped using UE4 in 2018 I don't use C++, but a couple of my friends who do use C++ like cxx.
-
Python or C++ ?
As for Rust interop, you can use the plain C FFI both ways (which enables the interop with Python and numpy, in pyo3), but there's also been some work on interop with C++ (to limited extent, of course), see https://cxx.rs.
-
Buck2: preview of the Rust rewrite of Buck1, a Bazel-like build system created by Facebook
Does this still bypass Cargo when building Rust and call rustc directly? IMO that practice is horrible for the Rust ecosystem. It brings the chaos of C/C++ build systems to the Rust world, where developers only care about their preferred build system and make life hard for others. https://github.com/dtolnay/cxx/issues/462
-
Google says Rust is the key to cutting Android vulnerabilities
Using C libraries from Rust is straightforward with bindgen. Using C++-libraries is less so, but should be doable using cxx. Fortunately, I haven't had a need for that myself, so I can't say how much of a hassle it is.
-
Memory Safe Languages in Android 13
Brave Browser has some Rust components too (e.g. the adblocking engine). Rust in C++ works very well for components with a small, well-defined API surface that involve a lot of logic. You only need to build a small FFI layer for the direct interfaces between the two languages. CXX [1] makes this even easier, too.
Brave is definitely not aiming to convert the entire browser to Rust, but it's increasingly chosen for new development.
[1] https://cxx.rs/
What are some alternatives?
rust-bindgen - Automatically generates Rust FFI bindings to C (and some C++) libraries.
cbindgen - A project for generating C bindings from Rust code
autocxx - Tool for safe ergonomic Rust/C++ interop driven from existing C++ headers
rust-cpp - Embed C++ directly inside your rust code!
jupyter-cadquery - An extension to render cadquery objects in JupyterLab via pythreejs
curv - a language for making art using mathematics
uniffi-rs - a multi-language bindings generator for rust
rpm-ostree - ⚛📦 Hybrid image/package system with atomic upgrades and package layering
btleplug - Rust Cross-Platform Host-Side Bluetooth LE Access Library
libredwg - Official mirror of libredwg. With CI hooks and nightly releases. PR's ok
fosscad-repo - Official FOSSCAD Library Repository
ritual - Use C++ libraries from Rust