Iwasawa 🌟 (one hikari of too many)

(replying to mcc)

@mcc @rf @whitequark decoupling the ABI from C would solve so many problems

Iwasawa 🌟 (one hikari of too many)

(replying to Iwasawa 🌟 (one hikari of too many))

@mcc @rf @whitequark or rather decoupling ABI from languages generally. i want a universal cross-language native interface definition format

2 replies β†’
2 replies

Erin πŸ’½βœ¨

(replying to Iwasawa 🌟 (one hikari of too many))

@hikari @mcc @rf @whitequark blank stare approximately once every decade someone reinvents Microsoft COM

1 replies β†’
1 replies

Iwasawa 🌟 (one hikari of too many)

(replying to Erin πŸ’½βœ¨)

@erincandescent @rf @mcc @whitequark i was considering mentioning COM actually. i was also thinking about WinRT

Erin πŸ’½βœ¨

(replying to Erin πŸ’½βœ¨)

@hikari @mcc @rf @whitequark And don’t get me wrong. COM is a great idea

Its also a terrible lowest-common-denominator thing almost by definition.

Erin πŸ’½βœ¨

(replying to Erin πŸ’½βœ¨)

@hikari @mcc @rf @whitequark Fun fact of the day: Did you know that IUnknown made its way into CoreFoundation?

Its used as the backend for CFPlugin

1 replies β†’
1 replies

Iwasawa 🌟 (one hikari of too many)

(replying to Erin πŸ’½βœ¨)

Iwasawa 🌟 (one hikari of too many)

(replying to Iwasawa 🌟 (one hikari of too many))

@erincandescent @rf @mcc @whitequark okay tbf IUnknown is pretty minimal and i suppose they can't put a dependency on core foundation or libobjc inside core foundation

Erin πŸ’½βœ¨

(replying to Erin πŸ’½βœ¨)

@hikari @mcc @rf @whitequark (I think this one will amuse Hikari most of all)


Jordan

(replying to Iwasawa 🌟 (one hikari of too many))

@hikari @mcc @rf @whitequark I keep playing with writing down a syntax for it and then get bogged down when I realize the most interesting thing would be enums/ADTs. Though maybe what Rust picked for repr(C) enums is close enough.

Jordan

(replying to Jordan)

@hikari @mcc @rf @whitequark LLVM is nearly this except where it isn’t at all. WASM is sort of this except it’s not actually native; it’s just easier to target than the JVM or CLR.

Iwasawa 🌟 (one hikari of too many)

(replying to Jordan)

@jrose @mcc @rf @whitequark llvm is extremely not this in practice. wasm is maybe our only hope