Something like this maybe? This code is not checked so might not work. ProcedureDLL AttachProcess(Instance) Global Dim my_string_array.s(10) EndProcedure ProcedureDLL DetachProcess(Instance) FreeArray(my_string_array()) EndProcedure ProcedureCDLL array_of_strings() my_string_array(0) = "hello&q...
idle wrote: ↑Sat Nov 18, 2023 8:51 pm
I'm not sure if the c backend will inline the functions , use macros and you will see a vast improvement. I will have a look at it when I get up, lazy Sunday morning here
Please do, would love to see how much it can be improved.
jacdelad wrote: ↑Sat Nov 18, 2023 8:16 pm
Did you turn the debugger off?
No, I didn't. I didn't expect that much of a boost with the debugger off. It's now faster than C# but not by a huge amount. ASM is still much slower, 60% slower.
On Windows we use Winsock. On macos we use?? The reason I want this is so i can have blocking sockets. If anyone has an example, that would be super helpful. Thanks