Script language that provides Unix system programming?
Does anyone know of a C like scripting language that provides support for Unix system programming (for example dealing with memory maps)? Also it must be easily embeddable and/or extendable using C.
Thanks
---------------------http://www.stodge.net
If you''re doing low-level stuff like memory mapping, you may well not be working with a scripting language. To do stuff like that efficiently requires static typing, which few scripting languages use.
Check out Perl, Tcl, and Python, in that order; they''re the most likely suspects for OS-level features like this.
How appropriate. You fight like a cow.
Check out Perl, Tcl, and Python, in that order; they''re the most likely suspects for OS-level features like this.
How appropriate. You fight like a cow.
Yeah I figured that this probably wouldn''t suit scripting languages but I thought it might be useful for prototyping and fast creation of tools.
Thanks
Thanks
---------------------http://www.stodge.net
I''m specifically talking about things like memory maps, and not just file handling etc...
Cheers
Cheers
---------------------http://www.stodge.net
You could just use C/C++ and export to a .so (.dll in win32). Along these lines see the article featured here on gamedev "Scripting C using Co-Routines".
--
Dustin
--
Dustin
Python has an mmap module, that lets you work with memory mapped files. Perl probably has something similar.
--
AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.
[Project site] [Blog] [RSS] [Browse the source] [IRC channel]
--
AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.
[Project site] [Blog] [RSS] [Browse the source] [IRC channel]
--AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.[Project site] [IRC channel] [Blog]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement