Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 03/11/22 in Posts

  1. David Heffernan

    CPas - C for Delphi

    So it's more geared towards looser coupling, a more scripting like approach. I guess if I know the external code I want to use at compile time then linking to a DLL in the classic fashion is generally preferable.
  2. Angus Robertson

    How can I use icsproxy in multithreading?

    The ICS proxy component is not designed for use in threads, it listens in the main thread and all clients use the main thread. Testing has shown single threaded ICS servers can handle hundreds of simultaneous clients, although using SSL/TLS takes an appreciable time to setup a new connection and is a limiting factor in how many new connections can be accepted each second. Exactly how many clients are accessing the proxy simultaneously, using what protocols, and for how long. Does your proxy have a GUI? That will almost certainly be the reason for the slow down. Angus
  3. tinyBigGAMES

    CPas - C for Delphi

    That API allows you, from Delphi to compile C99 sources, or load in precompiled sources at runtime. As such, you have access to a lot of C99 libraries you can now, with ease take advantage of. It's small and fast, so it can be used as a scripting solution if you wish. You have access to the symbols, so code and data can be exchanged between Delphi and C. There are examples in the distro that demonstrates all these features. Think of it like using Lua from Delphi, it's just easier, cooler much more powerful. It leverages Tiny C Compiler for the backend code generation.
  4. David Heffernan

    CPas - C for Delphi

    Would be nice to know what's actually going on here, but all I can see is an opaque DLL which seems to have all the implementation in it.
×