C
Contents |
C, the language
psyclpc and libpsyc are in C, and a few other things in the software list.
psycpp also provides a little parser in C.
See also libpurple.
C++, the language
Dyskinesia and psycpp are in C++.
Some orphaned projects too, such as libPSYC and PsycM.
C#, the language
psyconaut is a .net application in C#
See also: Mobile.
Where does it make sense?
Okay, forget about C#. It just has a name that forces us to talk about it on this page.
There are plenty of situations where using C/C++ can be dangerous. It is certainly more difficult to develop safe applications in those languages than any virtual machine type of language. Also, PSYC applications are frequently confronted with situations they have never encountered before, because all sorts of people may send them all sorts of packets. That's why it is a good idea to have a backend that simply generates a runtime error and goes on doing its job when something unexpected happens, rather than crashing away.
But some scenarios like solutions in these more efficient languages. One such thing is serving a core service in the operating system. Recently I was pleasantly surprised to find out that my average Linux distribution has generally all non-stop running applications in native ELF binaries. Only administrative jobs are done with shell scripts, python and perl.
libpsyc should be a foundation piece of code that allows us to implement a little event notification daemon on top to do system monitoring, watchdogging, syslog and dbus gatewaying into PSYC implemented in a native language that makes it viable for unix distributions to provide it as a basic service daemon, or simply to enable existing daemons to produce PSYC notifications as we did with procmail.


