cmdcon-ng official thread

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Sat Oct 18 22:14:56 PDT 2014


On Tue, 14 Oct 2014 01:48:12 +0300
ketmar via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

some news for those who still interested:

 * made const and static fields work
 * made static methods work
 * made @ConXXX attributes on methods and fields work
 * added telnet sample (sorry, GNU/Linux only, i have no other OSes)

no AAs yet, sorry.

and no, i will *not* add scripting language. no conditions, no
assignments, no variable expanding. it's not a scripting system, and i
never intend it to be one.

yet if you *really* want to grow a monster, you can use ConObjects for
this, albeit not without modifying the sources.

p.s. telnet sample using Fibers and very simple and idiotic sheduler.
yes, it supports multiple simultaneous connections (at least in
theory). it shouldn't be very hard to port that sample to another OS
too.

be aware that cong does no locking, so if you want to use it in
multithreaded environment, you have to register free functions to work
with objects. yet cong using atomicLoad and atomicStore for arithmetic
variables, so it provides at least some sort of thread-safety. ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141019/291595e1/attachment.sig>


More information about the Digitalmars-d mailing list