Is Lua Really Wonderful?
The Scripting Language article appeared right after a friend sent me an email about Lua. About a year ago I had some script I was playing with that was in Lua and I thought it looked like a pretty interesting language. But, the thought quickly passed as I have, well, enough other things to do.
We'll, my friend had the following points:
- What a piece of crap JavaScript is
- How big Python is
- How cool it would be if browsers had Lua, not JavaScript in them
On the first point, let's just say that JavaScript and design fit together about as well as Perl and design. (Ok, that should have made me enough enemies.)
While Python is my first choice for a "big" language (awk is my first choice if the task makes sense within the confines of awk), it is a big language. Execution size is one issue but, for someone new to programming, there is a lot to learn to write good Python.
Now, my friend suggested that if Lua was in a browser then you could implement most anything (including JavaScript) in Lua. Ok, I haven't given this a lot of thought and I am far from an expert on Lua (or JavaScript—it's right up there with Perl on my "languages to avoid" list) but maybe he is right. Maybe we just need to embed Lua is some browser, write a JavaScript interpreter in it for the hard-core, a Lua tutorial and then just wait for Lua to take over the world.
Phil Hughes
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- I once had a better way I
23 min 8 sec ago - Not only you I too assumed
40 min 31 sec ago - another very interesting
2 hours 33 min ago - Reply to comment | Linux Journal
4 hours 26 min ago - Reply to comment | Linux Journal
11 hours 21 min ago - Reply to comment | Linux Journal
11 hours 37 min ago - Favorite (and easily brute-forced) pw's
13 hours 28 min ago - Have you tried Boxen? It's a
19 hours 20 min ago - seo services in india
23 hours 51 min ago - For KDE install kio-mtp
23 hours 52 min ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?



Comments
Scripting in the browsers should allow multiple languages !
I still don't understand why there is only one language in browsers. As long as the language have a way to access the DOM, and some kind of access to browser functions, couldn't be the language engine a plugin for the browser !? . So, the browser have an API, and some scripting engines that can access that api. It would only be necessary a or , etc ..
! agreed !
it would be _great_ if we had more choices
even stripped down plugins would be better
than having to learn yet-another-language.
i chose php for the web site i work on,
and it would be nice if some of that framework
could be off-loaded to the client side.
There's something similar available currently...
This lua article was linked to from this poll... which at this point has shown a lot of support for Tcl -- so I thought I'd point out this Tcl browser plugin project.
-bch