At present I am working on a pkgconfig based build system for Felix,
and Mike is working on a package manager. The aim is to replace
the Python build system, and provide a way to get add-ons.

These efforts will be forcibly cojoined by the mission critical use case
described below. Expect some pain!

The Felix core system is very carefully designed to allow it to run
WITHOUT asynchronous I/O support. Async I/O provides event driven
socket I/O which blocks fibres but not pthreads, and also alarm clocks.

The "demux" library provides platform specific polling functions nested 
in a monitoring pthread. The "faio" package provides a platform
independent wrapper on top of this to do the actual I/O.

The Felix system run time framework "normally" runs without any
asynchronous I/O support.  There are both static link and dynamic
link variants of "flx_run".

To support async I/O you have to use "flx_arun". In the dynamic
version, there is a "hook" for pluging in asynchronous I/O support,
which is done by loading a DLL. In the static version, the hooking
is prepared by the static linker. However in BOTH cases, async
I/O is started on demand. So if you don't use it, you don't pay
for it. The hook starts off as NULL pointer and is set to the
actual async I/O system when required.

Now the point of this description: the async I/O system is OPTIONAL.
Its just a rather special kind of "plugin". 

It is should NOT required to build any of the core tools like flx_pkgconfig, 
flx, etc.
[It is needed for the webserver, obviously :]

In other words .. the async system should be in the litterbox.

--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to