Home Articles
Articles
Segment Violation running Huemul PDF Print E-mail
Written by Guillermo Adrián Molina   
Tuesday, 22 April 2008 17:51

It may be due to a security enforcement related with the kernel. There is an option in Linux kernels called "noexec". This feature prevents the execution of dynamically allocated memory. Huemul uses libc's malloc to allocate memory for normal objects and compiled methods. But as Huemul has to execute the compiled methods, the kernel protects itself and kills Huemul. In future versions of Huemul, memory allocation will be done with mmap. This system call allows execution of code inside dynamically allocated memory. But until that moment arrives, we have to apply a little hack to the kernel to run Huemul.

Last Updated ( Tuesday, 22 April 2008 18:00 )
Read more...
 
Huemul, a Smalltalk implementation PDF Print E-mail
Written by Guillermo Adrián Molina   
Wednesday, 12 March 2008 00:26
Huemul is a new implementation of Smalltalk. It is build under the principle of reuse of existing technologies. It is aimed to be compatible with Smalltalk 80 at the language level. Huemul translates methods directly to machine code, and they are kept like that in the image. With this approach, non-Smalltalk code is kept to the bare minimum, making it very easy to port. Huemul is designed to be efficient enough to do primitives in Smalltalk.
Last Updated ( Monday, 17 March 2008 11:23 )
Read more...
 
To tag or not to tag, that is the question PDF Print E-mail
Written by Guillermo Adrián Molina   
Wednesday, 12 March 2008 00:01

Integer implementation is one of the biggest challenges in any system. Integers are used a lot in software development. They are the building blocks for arithmetic operations, loops, constants, counters, etc. Choosing the right integer implementation is critical because it determines the overall behavior. This article describes how Huemul implements integers, and what aspects had been taken into consideration.

Read more...
 


Copyright © 2008 Huemul Web Page. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.