BASIC User Group > Code Challenges

Array Class Challenge

<< < (2/2)

Mike Lobanovsky:
Heh, another try to make myself clearer:

"At least now we can see what the subject of the challenge is all about..."

John:
The best part is we can share functions among our array libraries.

I plan to release a ScriptBasic extension module and a generic shared object of the library.

John:

--- Quote from: Mike Lobanovsky on November 14, 2019, 03:57:46 am ---Heh, another try to make myself clearer:

"At least now we can see what the subject of the challenge is all about..."

--- End quote ---

That BASICally went over my head.  :o

Mike Lobanovsky:
OK,

So the challenge is about creating a standalone module to basically extend BASIC array basic features and incorporate extra high-level functionality.

Then why not do the most obvious thing (for the dialects that don't have such features built into the core): create a CPP DLL with a flat ANSI C interface that would encapsulate some or all of simple data vector classes and export their standard high-level methods for use by dialects that support calls to external dynamic link libraries/shared objects at all?

I bet this would be the fastest library possible if compiled with the VC++/G++ maximum optimization settings.

John:
Sounds like a great idea for Windows. Maybe you could write it in O2?

I'm focused on a Linux solution.

Judy

Navigation

[0] Message Index

[*] Previous page

Go to full version