Brent Picasso |
Hi Anfred, Thanks for your passionate post. I've looked at the chip; it looks like it could simply run the standard Lua under Linux. From my understanding, eLua is best suited for OS-less microcontrollers where you don't have the luxury of a POSIX compliant OS. What might I be missing? -Brent On Fri, Jul 17, 2015 at 9:27 AM, Anfred [via eLua Development] <[hidden email]> wrote: I have read most of the posts on in this forum. I have seen many posts interested in doing an eLua port for a specific board. Sadly, there has been little progress on most ports. We must combine our efforts! Brent Picasso
Technology for Race and Street |
>
> Thanks for your passionate post. I've looked at the chip; it looks like it could simply run the standard Lua under Linux. From my understanding, eLua is best suited for OS-less microcontrollers where you don't have the luxury of a POSIX compliant OS. What might I be missing? A Lua-only system, as a standalone machine with its own complete environment - i.e. use that video output to give us an onboard editor/development environment. A lot of current Lua-based systems are destinations for cross-compiler-based dev rigs; it’d be nice to use the power we’ve got to forge a Lua-only OS that can support its own development environment and be, indeed, pure 100% Lua, no host-OS. That has been a goal of mine as a Lua neophyte for a few years now. ; -- Jay Vaughan [hidden email] http://ibisum.ddns.net/ signature.asc (859 bytes) Download Attachment |
This post was updated on .
In reply to this post by Brent Picasso
Thanks for your reply! I understand linux is an easy way to use the CHIP. This may be off subject for eLua, when really we only need lua, instead of an embedded version. I was hoping it could scale well, for boards that do have limited hardware, so then elua would be handy. I am interested in an independent OS, though. The idea is to not rely on linux or any other OS. The eLuaBrain is a good example. I know hardware constraints are the reason for making eLuaBrain, and the CHIP does not have limited hardware. As you know, it is pretty powerful and capable of running linux.
Since hardware is becoming so cheap, I feel it is time to create an alternative to linux. The idea here is to create a new standard for open source OS's. Physical computing (embedded, robots, etc) has always used C, and more recently lightweight linux. New hardware does not limit physical computing anymore. The problem is that beginners and students are not inspired by C or learning linux commands, that has been proven over the past 30 years of them being used so widely. After seeing what people have made in the computercraft forums, I realized beginners are inspired by lua, and scripting friendliness in general. Linux is great for hackers, open source devs, and community. The problem is 80% of the population just has no interest in linux. When they try to care about it, they go back to their macbooks, with a sigh of relief. If you want to build a wooden bench, must you buy a whole wood shop? If you were to buy a whole wood shop, how would you know what to buy? That is the kind learning curve C and linux provide. The idea here is: when beginners are not intimidated, they thrive. I feel that lua is the key to inspiring a whole new generation of coders. I also feel that C plays a big part in discouraging beginners. I know web developers that have been in web design for 10 years, yet they would never be interested in C syntax, and don't even bother with linux. |
Hi,
First, let me say that I realy like your passion. I agree that Lua is a great teaching tool, especially combined with platforms like eLuaBrain, and would like to see more of that happening. I still don't believe the answer is C.H.I.P or other similar platforms that were originally meant to run Linux. The reason is very pragmatic: drivers and OS services. Drivers that you'll very likely be unable to get up and running when you plug in an USB WiFi dongle in your C.H.I.P. board. Even if you get the drivers right, you'll still need the proper support around WiFi, plus a proper network stack. Linux provides high quality and high performance versions of those, and that is not to be taken lightly. The effort that was put into that is huge and replicating even a small part of it is pretty insane. On a MCU board, things are a bit different. You can easily connect a "smart" WiFi module and be done with the WiFi part. People don't generally expect MCU boards to have a high performance networking stack, so simpler, less reliable solutions are generally deemed acceptable. And (quite important for me) MCU based systems are generally much easier to understand than Linux hardware. This is a very important advantage if your aim is education, since you can provide both a hardware and software education tool in a single nice package. |
This post was updated on .
You have some great points there. I am still learning how to be a better coder. I try to make up for that in big ideas full of passion.
If a microcontroller, instead of a full linux board, is the best way to get lua into classrooms, than that is what matters to me! I wish nodeMCU 12E was not so limited in ram, otherwise it would be great for this purpose. I would have to say the CC3200 is probably the best candidate, although another post in this forum has steered me away from broadcom chips. That leaves only the Particle Photon board as an affordable wifi solution. I need to get one for eLua now! |
Dado found this:
http://www.wifimcu.com/ Looks pretty nice and already runs a Lua version which is based on eLua. It's also fairly cheap for what it has to offer. |
In reply to this post by Brent Picasso
Hooray! Thanks for finding the wifiMCU! I was just on smartarduino.com, about 2 weeks ago, and that board was not available! Very new, very interesting find!
|
Free forum by Nabble | Edit this page |