#41
Posted 22 June 2015 - 03:25 AM
#42
Posted 22 June 2015 - 03:50 AM
#43
Posted 22 June 2015 - 01:40 PM
Alice, on 22 June 2015 - 03:50 AM, said:
#44
Posted 22 June 2015 - 04:39 PM
oeed, on 05 December 2014 - 10:47 AM, said:
Maybe we shouldn't make it compatible with ComputerCraft. What I mean is, that maybe the idea of a system using Lua instead of C(++) is better than using ComputerCraft with it's limitations instead of C(++). This system wouldn't be compatible with CC then, but it would enable stuff like a full RGB color palette, better http, pixels (bigger than the pixels the display features, not only because of performance), a native GUI library (coded in C, because it'd be slow in Lua)
#45
Posted 22 June 2015 - 05:16 PM
#46
Posted 23 June 2015 - 12:12 AM
Alice, on 22 June 2015 - 02:10 AM, said:
Alissa, plis. base and base-devel.
plis.
p l i s.
#47
Posted 23 June 2015 - 05:18 AM
Dr. Poof, on 23 June 2015 - 12:12 AM, said:
Alice, on 22 June 2015 - 02:10 AM, said:
Alissa, plis. base and base-devel.
plis.
p l i s.
Nah.
#48
Posted 23 June 2015 - 07:12 AM
LDDestroier, on 22 June 2015 - 05:16 PM, said:
Sending messages to other machines over the same network, or even the networking converting IP address to WAN and LAN ID's would be awesome.
#49
Posted 23 June 2015 - 09:50 AM
Sandstorm, on 23 June 2015 - 07:12 AM, said:
LDDestroier, on 22 June 2015 - 05:16 PM, said:
Sending messages to other machines over the same network, or even the networking converting IP address to WAN and LAN ID's would be awesome.
#50
Posted 23 June 2015 - 02:58 PM
Alice, on 23 June 2015 - 09:50 AM, said:
But that doesn't matter as you can also use IPv4/6 adresses without 4/8byte sized integers.
Also LuaJ uses 8byte sized doubles, using a 52bit mantissa -> even more storage possible than with Lua's integers (32bits). With a smart system, you can get the full 64bits of information out of a double.
Edited by ardera, 23 June 2015 - 03:23 PM.
#51
Posted 23 June 2015 - 07:47 PM
ardera, on 23 June 2015 - 02:58 PM, said:
Alice, on 23 June 2015 - 09:50 AM, said:
But that doesn't matter as you can also use IPv4/6 adresses without 4/8byte sized integers.
Also LuaJ uses 8byte sized doubles, using a 52bit mantissa -> even more storage possible than with Lua's integers (32bits). With a smart system, you can get the full 64bits of information out of a double.
I suppose that's true, Google has this glorious technique of thinking me typing "IPv6" meant "IPv4." Anyways, we'd have to modify Lua to use doubles instead of integers. Probably not too hard?
#52
Posted 23 June 2015 - 08:27 PM
Alice, on 23 June 2015 - 07:47 PM, said:
#53
Posted 23 June 2015 - 08:34 PM
#54
Posted 23 June 2015 - 08:36 PM
Alice, on 23 June 2015 - 08:34 PM, said:
Why dod they draw the screen so often? Can't they wait for events?
Do other programming languages work with events? Because I really like Lua for this.
#55
Posted 23 June 2015 - 09:28 PM
And no, they can't wait for events.
Because an "event" in a working linux system is like, hundreds of times per second.
Alice, on 23 June 2015 - 07:47 PM, said:
ardera, on 23 June 2015 - 02:58 PM, said:
Alice, on 23 June 2015 - 09:50 AM, said:
But that doesn't matter as you can also use IPv4/6 adresses without 4/8byte sized integers.
Also LuaJ uses 8byte sized doubles, using a 52bit mantissa -> even more storage possible than with Lua's integers (32bits). With a smart system, you can get the full 64bits of information out of a double.
I suppose that's true, Google has this glorious technique of thinking me typing "IPv6" meant "IPv4." Anyways, we'd have to modify Lua to use doubles instead of integers. Probably not too hard?
Nope. Not hard at all.
#56
Posted 23 June 2015 - 09:38 PM
and modify raspbian/archlinux/ubuntu (whatever you want) to boot in this application. It's way to complicated to make a new linux distro.
Edited by ardera, 23 June 2015 - 09:38 PM.
#57
Posted 23 June 2015 - 11:42 PM
Also, we can make packages for the distro. Arch has the AUR, so we can make a PKGBUILD from that.
Which also means we would need a Git repo to use. Would I set this up later or would you like to get started on this?
Oh, another note, I planned on implementing the API in a library called 'cqueues', it works great with file-descriptor based events and I've actually been thinking about making a CC wrapper for quite a while now!
This also means: SOCKETS AND MULTITHREADING WHOOO
Edited by Alice, 23 June 2015 - 11:44 PM.
#59
#60
Posted 24 June 2015 - 12:14 AM
Alice, on 23 June 2015 - 11:55 PM, said:
Not _too_ hard.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users