Still no modules. Seeing where it's going, I'm starting to doubt they will add them at all.Quote
Originally posted by: Cuchulainn
Quote
Originally posted by: katastrofaOn Windows, at least you can use 1. LIB filles2. dlls (in C)Quote
Originally posted by: katastrofa
How do the modules differ from static/dynamic libraries?I'm sorry if this question is stupid, but this is actually of practical interest to me.I currently pack pieces of my code into libraries to send them to my clients, who shouldn't see my code. The downsides are known. Are modules a better solution?
a
Which type do you give to clients?
DLLs are probably better and satisfy your requirements. I suppose you want to call them from Excel?
In .NET things are soooh much easier.IMO C dlls an LIBs are an approximation to modules,
What are those?The downsides are known
I use simple DLL libraries with External interface using stateless functional API.
The problems with this solution are caused by different implementations of STL by different compilers, different binary versions of STL containers depending on the compilation options, etc. Of course I can provide all necessary classes to communicate with the EI, but it makes things much less straighforward and it feels somewhat uncanny.
a
It is a difficult feature to implement I suppose. Microsoft tried something similar with COM (good technology) some time ago. Here is the vision at the timeStill no modules. Seeing where it's going, I'm starting to doubt they will add them at all.Quote
Originally posted by: Cuchulainn
Quote
Originally posted by: katastrofa
On Windows, at least you can use 1. LIB filles2. dlls (in C)
Which type do you give to clients?
DLLs are probably better and satisfy your requirements. I suppose you want to call them from Excel?
In .NET things are soooh much easier.IMO C dlls an LIBs are an approximation to modules,
What are those?
I use simple DLL libraries with External interface using stateless functional API.
The problems with this solution are caused by different implementations of STL by different compilers, different binary versions of STL containers depending on the compilation options, etc. Of course I can provide all necessary classes to communicate with the EI, but it makes things much less straighforward and it feels somewhat uncanny.
a
Thanks! It's more of a rant that a balanced opinion. C++ is the only relevant language that managed to get away with the 98 to 11 dark ages. In those 13 years the internet took off, multi-core machines became the standard, we saw a shifts in OSes, ..but C++ did nothing. No cross-OS uniform file system tools, no network tools, no threads,.. completely useless. The only way C++ was still usable in that period was because of boost.Good points.