Nice answer.

In your opinion, which is the efficient language to use with beaglebone?* 
Can we use Java or NodeJS?*
In one of our projects,* we planned to use beaglebone to be highly 
multitasking with a lot of sensors and internet connectivity.*
*What is your choice of language that we should use?*

*(C/C++/JAVA/PHP/Node.Js/Python)*

On Friday, 22 June 2012 01:58:46 UTC+5:30, Sid Boyce wrote:
>
> If you can get to run "top" it'll show you how much CPU and memory python 
> is using.
> Memory may not be a problem but no doubt CPU usage will be high.
> Regards
> Sid.
>
> On 21/06/12 21:01, Amadeus Bachmann wrote:
>
> Thank you for your answer. CPU usage was not something I have taken into 
> consideration. However from now on I will think more about it. Thanks again!
>
> On Thu, Jun 21, 2012 at 6:20 PM, Sid Boyce <[email protected] 
> <javascript:>> wrote:
>
>> On 21/06/12 15:42, zero wrote:
>>
>>> Hello there,
>>>
>>> I am using a RFID module attached to my beaglebone with UART1, reading 
>>> ID Tags and printing the tags to the LED. Everything is OK up to this 
>>> point. My question is the continuing: when I execute the python code, I 
>>> cannot do anything else with my beaglebone. Because it keeps executing 
>>> until I stop it. What I want is kind of a interrupt structure. What I mean 
>>> is: when I execute the python code, it will be working at the background 
>>> and when it reads a RFID card (an interrupt will occur) it will print the 
>>> ID to the screen and then program will continue running at the background.
>>>
>>> I do not have an idea how to do it. Could you please help me?
>>>
>>
>> As python is an interpreted language it runs very slowly, uses up lots of 
>> resources on Beagleboard and I'm sure it's the same on the BeagleBone.
>>
>>  I have an application with some C code and mostly python, it runs with 
>> pauses between outputting sound on the -XM to the point where speech is 
>> heard in one second intermittent bursts.
>>
>> The same program run on an x86_64 uses ~40% CPU while another program 
>> written in C to do exactly the same thing runs at < 3% CPU.
>> Regards
>> Sid.
>>
>> -- 
>> Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
>> Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
>> Senior Staff Specialist, Cricket Coach
>> Microsoft Windows Free Zone - Linux used for all Computing Tasks 
>>
>>
>> -- To join: http://beagleboard.org/discuss
>> To unsubscribe from this group, send email to:
>> [email protected] <javascript:>
>> Frequently asked questions: http://beagleboard.org/faq
>>
>
> -- To join: http://beagleboard.org/discuss
> To unsubscribe from this group, send email to:
> [email protected] <javascript:>
> Frequently asked questions: http://beagleboard.org/faq
>
>
>
> -- 
> Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
> Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
> Senior Staff Specialist, Cricket Coach
> Microsoft Windows Free Zone - Linux used for all Computing Tasks
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to