r/linux • • Aug 16 '14

Yet another C object model

https://phab.enlightenment.org/phame/live/1//post/yet_another_c_object_model_but_better/
53 Upvotes

60 comments sorted by

View all comments

Show parent comment

1

u/rastermon Aug 17 '14

let's see who's right in the end. we already have c++ done and working and working well. my bets are that this will succeed. i've been in the boat before of being told "that's pointless". "that is impossible". "no one wants that"... and i turned out to be right.

you haven't convinced me in any way that we are on the wrong path. you'd need hard cold examples of how our eo file class description fails to translate to c++, js, lua and python (let's just say for now that if we can solve these, we can solve nigh on any language acceptably). it's easy to say "no - poo poo on your code" to someone. it's FAR harder to actually do it. since we're well underway on this path and we aren't turning back unless there is the most major design flaw on the planet there, convince us to throw all of our work out then. go for it. show how what we have can't possibly work (by work i do not mean just technically work, but actually be clean, desirable to use by people programming in those langauges etc.)

1

u/LvS Aug 17 '14

Uh, I'd like this to actually work. Having a generic IDL that can be bound to any language and be great in any of those languages is awesome. I just haven't seen it ever work.

I mean sure, you get to a workable state pretty easily, 80/20 rule and all that. But if you look at all those "run $LANGUAGE with @GENERIC_FRAMEWORK" things have never worked out great, be it for bindings, VMs or whatever.

1

u/rastermon Aug 17 '14

well i think we can make it work. as i said - several of the people working on eo use these other languages themselves a lot (lua and python) and that i think is a major feather in the cap that'll make it decent.

1

u/[deleted] Aug 17 '14

Sure, it probably won't apply to every language on the planet. But it should work just fine with pretty much every language that is relevant (or at least every language the EFL would be relevant on - which simplifies things for us) - I'm working on LuaJIT support (besides the Eolian library itself), we have a guy evaluating it for Python, another guy for Rust, personally I'd like to see Haskell supported as well.