crablang / crab

A community fork of a language named after a plant fungus. All of the memory-safe features you love, now with 100% less bureaucracy!
https://www.crablang.org
Other
5.13k stars 66 forks source link

stable ABI #22

Closed Makefile-dot-in closed 1 year ago

Makefile-dot-in commented 1 year ago

this would allow distro maintainers to avoid every crab program containing its own version of tokio it would also allow one to install crab libraries normally as system packages, enable actual dynamic plugin support that won't break if you breathe on it wrong and make life easier for people trying to write pure crab oses. but most importantly, it would allow me to win arguments with C(++) users on discord, making using crabs the obvious choice when i want to oxi-DO.

darthdeus commented 1 year ago

I'm not sure if this repo is a meme or real, or if this issue is a meme or real, but at the tiny chance that it is real, please make a stable ABI so that we can have nice things, like ... hot reloading and plugins that could actually work?

TCROC commented 1 year ago

I'm not sure if this repo is a meme or real, or if this issue is a meme or real, but at the tiny chance that it is real, please make a stable ABI so that we can have nice things, like ... hot reloading and plugins that could actually work?

It's real

Edit:

And agreed! I want those things too!

sylv256 commented 1 year ago

See: https://slightknack.github.io/rust-abi-wiki/ We must address these issues before proceeding

Gordon01 commented 1 year ago

Just extern "C"