🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Script language that provides Unix system programming?

Started by
4 comments, last by stodge 20 years, 10 months ago
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
Advertisement
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.
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
---------------------http://www.stodge.net
I''m specifically talking about things like memory maps, and not just file handling etc...

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
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] [IRC channel] [Blog]

This topic is closed to new replies.

Advertisement