Re:Mousetrap.jl: a GUI library for Julia and C++ that fully ...
by lockhouse on Saturday August 19, 2023 @09:59PM
(#37195304)
GTK is a C library, which makes it much easier to make language bindings for compared to libraries written in C++.
[ Parent
| on HN ]
Re:Mousetrap.jl: a GUI library for Julia and C++ that fully ...
by cozzyd on Saturday August 19, 2023 @11:11PM
(#37195718)
It's amazing how "modern" languages don't bother having a stable ABI, relegating themselves to being silos.
Re:Mousetrap.jl: a GUI library for Julia and C++ that fully ...
by dragonwriter on Saturday August 19, 2023 @11:15PM
(#37195755)
Languages generally don’t have ABIs. Including C.
(A particular C implementation on a particular platform may have an ABI, and that may be stable, but that’s not a language feature.)
Re:Mousetrap.jl: a GUI library for Julia and C++ that fully ...
by badsectoracula on Sunday August 20, 2023 @08:01AM
(#37198295)
That is pointless hairsplitting, in practice in every mainstream platform where programs can use shared libraries there is a C ABI. That it is not defined by the C standard doesn't mean it doesn't exist, it only means that the C standard cannot be relied on for the ABI - and that is all that it means wrt. to the C standard. But very few programs limit themselves only to what is defined by the C standard.
Re:Mousetrap.jl: a GUI library for Julia and C++ that fully ...
by josefx on Sunday August 20, 2023 @06:39AM
(#37197859)
Almost as amazing as C programmers acting as if they had some kind of official ABI spec. when they also just get whatever their compiler writers feel like.
Re:Mousetrap.jl: a GUI library for Julia and C++ that fully ...
by duped on Sunday August 20, 2023 @09:52AM
(#37199138)
A stable ABI ties you down in a lot of ways that compiler and language authors don't place a ton of value on early in the lifetime of a language. And to be honest, the necessity of one is a bit over played. Dynamically linked system libraries are going the way of the dodo.