Re: About (what i would like to do for) the future of Euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message
Icy_Viking said...

I use C++ quite a bit. I do like that you can call C routines from Euphoria. I think if Euphoria had some sorta struct/class concept, it would be better. Structs really help, especially when you're game programming. I still use Euphoria occasionlly. Also, if Euphoria had a struct function, it would make wrapping C libraries even easier.

There is an experimental struct branch that Matt had started a few years ago.

AFAIK it works as-is and should be merged in to the master branch and released with 4.2. (or is that more of a 5.0 feature?)

Icy_Viking said...

I often use Euphoria to wrap or program multimedia applications, such as games. One thing I'd like to do is wrap Monogame, however Monogame is written in C# and lies on top of the .NET framework. I'm sure there could be a way to wrap these functions with a lot of work, which would defeat the purpose of making a simple wrapper. In case anyone was wondering Monogame is the successor to Microsoft's XNA. XNA was a game development library aimed at allowing for the easy creation of video games.

Wrapping .NET from C is not going to be easy. In theory, you could export functions using C++/CLI but you'll be fighting the .NET memory management the whole time.

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu