Re: async/await in Euphoria

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

Is Euphoria's next version going to have threads and/or async/await?

No. This kind of feature requires a pretty big change to the back end. Anyone's welcome to explore how it might be implemented and report back though.

-Greg

I made an experimental version some years ago. It had true multithreading, but it basically gave each thread a copy of its own runtime to avoid non-threadsafe access within the runtime library itself. It has some serious limitations (being limited to *nix for example), but you can still view it at https://github.com/OpenEuphoria/euphoria/tree/dlmopen-multithreaded

(And no, it's definitely not ready to merge into the mainline. Not even close.)

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

Search



Quick Links

User menu

Not signed in.

Misc Menu