Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mihini-dev] mihini dependencies to Linux?

Hi Dominique,

 

As Fabien mentioned, it does use POSIX APIs so it should work. However not all posix unixes are the same. You may have to tweak here and there. For instance the standard libraries as sockets and thread may have different names. So you will have to change a little bit the build files.

I used to have it running on QMX, it took me a few changes, but it worked at the end.

Unfortunately there is no abstract interface layer. The main reason being that each 3rd parties libraries may have different access to Posix API. Or said differently we could actually sell that the abstraction layer is Posix itself ;-) (was it not one of the purpose of Posix ?)

 

The memory footprint depends on the configuration of the agent. Our measure gave a span from 1MB to 2MB of RAM. Because of the dynamic nature of the language, it is actually difficult to give hard figures, it really depends on the use case. The best is probably to do measure in real use cases. Flash usage is closer to 2 MB.

 

Good luck with your porting!

 

Cuero

 

 

From: mihini-dev-bounces@xxxxxxxxxxx [mailto:mihini-dev-bounces@xxxxxxxxxxx] On Behalf Of Fabien Fleutot
Sent: Friday, February 07, 2014 6:41 PM
To: Mihini project developer discussions
Subject: Re: [mihini-dev] mihini dependencies to Linux?

 

Mihini should work as is on a POSIX os.

On Feb 7, 2014 6:04 PM, "Dominique Torette" <Dominique.Torette@xxxxxxxxxxx> wrote:

Hi,

 

I’m a new user of mihini. I have question about the dependencies of mihini regarding Linux.

 

My goal should be to port the mihini to another operating system, a real-time operating system called RTEMS http://www.rtems.org/

RTEMS provides the POSIX interface. I’ve already successfully ported the Lua interpreter.

Is it possible to port mihini to others OS? Is somebody already tried such a port?

What are the dependencies with Linux? Are they grouped some abstract interface layer?

What is the memory foot print of mihini? In order to reduce memory footprint, is it possible to disable most of the services?...

Any return of experience, in this field should be very appreciated.

 

Regards,              Dominique Torette.

 

 






http://www.spacebel.be/wp-content/uploads/2011/06/image-sign-sbp.jpg

Dominique Torette
System Architect
Rue des Chasseurs Ardennais - Liège Science Park - B-4031 Angleur
Tel: +32 (0) 4 361 81 11 - Fax: +32 (0) 4 361 81 20
www.spacebel.be

 


------------------------------------------------------------------------------

E-MAIL DISCLAIMER

The present message may contain confidential and/or legally privileged information. If you are not the intended addressee and in case of a transmission error, please notify the sender immediately and destroy this E-mail. Disclosure, reproduction or distribution of this document and its possible attachments is strictly forbidden.

SPACEBEL denies all liability for incomplete, improper, inaccurate, intercepted, (partly) destroyed, lost and/or belated transmission of the current information given that unencrypted electronic transmission cannot currently be guaranteed to be secure or error free.
Upon request or in conformity with formal, contractual agreements, an originally signed hard copy will be sent to you to confirm the information contained in this E-mail.

SPACEBEL denies all liability where E-mail is used for private use.

SPACEBEL cannot be held responsible for possible viruses that might corrupt this message and/or your computer system.
-------------------------------------------------------------------------------


_______________________________________________
mihini-dev mailing list
mihini-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mihini-dev


Back to the top