1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Enlightenment EFL Adds "Elua", A Lua JIT App Runtime

Desktop

Published on 11 June 2014 11:38 AM EDT
Written by Michael Larabel in Desktop
7 Comments

The latest addition to the Enlightenment Foundation Libraries is Elua, a Lua-based Just-in-Time application runtime stack.

Responsible for a heck of a lot of new code added to EFL yesterday was this LuaJIT-based runtime. "Elua is a LuaJIT based runtime for the EFL meant to provide facilities for rapid application development. The name is temporary. The EFL bindings will be generated with Eolian."

Very simple Enlightenment apps can now be written, here's an example test application written for this Enlightenment LuaJIT environment:
local win = elm.Window("test", "Hello World")

win:smart_callback_add("delete,request", function()
elm.exit()
end)

local bg = elm.Background(win)
bg:size_hint_weight_set(1.0, 1.0)
win:resize_object_add(bg)
bg:show()

local bx = elm.Box(win)
bx:size_hint_weight_set(1.0, 1.0)
win:resize_object_add(bx)
bx:show()

local lbl = elm.Label(win)
lbl:text_set("Lua runtime test")
bx:pack_end(lbl)
lbl:show()

local counter = nil
local step = 5

local btn = elm.Button(win)
btn:text_set("Reset counter")
bx:pack_end(btn)
btn:smart_callback_add("clicked", function()
if not counter then
btn:text_set("Add " .. step)
end
counter = counter and (counter + step) or 0
lbl:text_set(tostring(counter))
end)
btn:show()

win:resize(360, 360)
win:show()

In other Enlightenment EFL work, the latest code now also has a full ETC2 encoder. ETC2 is the latest version of the Ericsson Texture Compression technique that's mandated by OpenGL ES 3.0 and OpenGL 4.3.

In other news, in case you missed it, Enlightenment 0.19 is in alpha with its Wayland improvements, new compositor code, etc.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Articles & Reviews
  1. Khronos Group Announces Vulkan, OpenCL 2.1, SPIR-V
  2. Samsung 850 EVO SSD Linux Benchmarks
  3. Kubuntu 15.04 Is Turning Out Quite Nice, Good Way To Try Out The Latest KDE
  4. 5-Way Linux Distribution Comparison On The Core i3 NUC
  5. OCZ ARC 100 Linux SSD Benchmarks
  6. Lenovo ThinkPad X1 Carbon Works Great As A Linux Ultrabook
Latest Linux News
  1. NVIDIA Announces Shield Set-Top Gaming Box
  2. Valve Launches $49 Steam Link, SteamOS-Powered Streaming Device
  3. Valve Announces Source 2, It's Going To Be Free To Content Developers
  4. Gitorious Gets Acquired By GitLab
  5. Unity 5.0 Brings PhysX 3.3, WebGL Preview, Animation System Work
  6. Linux 4.0-rc2 Kernel Released After Delay Due To Intel DRM Driver
  7. Linux 3.19 Officially Lands For Ubuntu 15.04
  8. Clutter Now Supports Quad-Buffer Stereo Displays, Mir Backend
  9. Pricing Details On The Alleged MJ Ubuntu Tablet Design
  10. Understanding The Linux Kernel's BPF In-Kernel Virtual Machine
Most Viewed News This Week
  1. More Proof That Allwinner Is Violating The GPL
  2. The Tremendous Features Of Fedora 22
  3. Krita 2.9 Released, Their Biggest Release Ever
  4. A Single UEFI Executable With The Linux Kernel, Initrd & Command Line
  5. Xfce 4.12 Released After Nearly Three Years Of Work
  6. LLVM 3.6 & Clang 3.6 Deliver More Features, Complete C++14 Support
  7. 8cc: A Small C11 Compiler
  8. ALSA 1.0.29 Released
%%CLICK_URL_UNESC%%