Re: [dev] Different versions of suckless libutf

2016-06-18 Thread Connor Lane Smith
Hi all, Following this past conversation, I decided to reinstate rune validity checks in libutf. Since people seem to be using my repo as a submodule, I decided it was best to cater for that (somewhat questionable) use case. > I would have liked to have separated UTF-8 and Unicode support into tw

[dev] JIT & VM discussion

2016-06-18 Thread Connor Lane Smith
Hi all, I was wondering if others had an opinion on JIT. Suppose we don't need anything fancy like adaptive optimisation, but just wanted to compile a program at runtime. One possibility might be to generate C code and store that in a file and then call the C compiler and then execute the resultin

Re: [dev] JIT & VM discussion

2016-06-18 Thread Staven
On Sat, Jun 18, 2016 at 10:33:23AM +0100, Connor Lane Smith wrote: > Hi all, > > I was wondering if others had an opinion on JIT. Suppose we don't need > anything fancy like adaptive optimisation, but just wanted to compile > a program at runtime. Why?

Re: [dev] JIT & VM discussion

2016-06-18 Thread Kamil Cholewiński
On Sat, 18 Jun 2016, Connor Lane Smith wrote: > Hi all, > > I was wondering if others had an opinion on JIT. Suppose we don't need > anything fancy like adaptive optimisation, but just wanted to compile > a program at runtime. One possibility might be to generate C code and > store that in a file

[dev] [dlogout] I wrote a basic logout-/shutdown-menu for use with dwm.

2016-06-18 Thread Thomas Oltmann
Hey everybody, I just started tinkering with dwm a couple of weeks ago. And I especially love how customisable and extensible it is. No weird 'writing Javascript Applets' or 'hooking into' other functions or fiddling with cryptic XML files - it's just C code. However, I really missed being a

Re: [dev] [dlogout] I wrote a basic logout-/shutdown-menu for use with dwm.

2016-06-18 Thread Kamil Cholewiński
On Sun, 19 Jun 2016, Thomas Oltmann wrote: > So, what do you think? Do you even feel there's a need for a > shutdown-menu for dwm? Are you happy with the quality of the source code? What does it do that dmenu + a shell script can't?

Re: [dev] JIT & VM discussion

2016-06-18 Thread Louis Santillan
There's several examples of P-code/Pascal VMs around [0][1][2][3]. Some more detailed than others. [0] https://en.wikipedia.org/wiki/P-code_machine#Example_machine [1] http://www.icodeguru.com/vc/10book/books/book4/secg.htm [2] http://blackmesatech.com/2011/12/pl0/pl0.xhtml [3] https://github.com

Re: [dev] [dlogout] I wrote a basic logout-/shutdown-menu for use with dwm.

2016-06-18 Thread Cág
Hi there, Judging from my experience: I don't use a display manager, nor dbus, systemd, consolekit etc. I'm not sure if these things are popular here (well, systemd at least, as the vast majority here uses OpenBSD, right?). Also I treat my tty sessions as usual sessions, i.e. I need X11 only to su

Re: [dev] [dlogout] I wrote a basic logout-/shutdown-menu for use with dwm.

2016-06-18 Thread Alex Pilon
On Sun, Jun 19, 2016 at 02:28:14AM +0300, Cág wrote: > Of course, tis just me. I'm sure Arch/Manjaro users > will find it useful. Uuuum, systemd does process ACPI events…

Re: [dev] JIT & VM discussion

2016-06-18 Thread Sylvain BERTRAND
C JIT->have a look at tinycc from F. Bellard. llvm is c++ then, by definition is not suckless and a massive brain damaged kludged. cheers, -- Sylvain

Re: [dev] JIT & VM discussion

2016-06-18 Thread Ben Woolley
If you don't want to use Lua, what about doing something more like CGI? Then you can just call the configuration program with what you want a dynamic answer for. You could then have a simple awk script parse your config file and answer queries to the host program. I suggest this because I have

Re: [dev] [dlogout] I wrote a basic logout-/shutdown-menu for use with dwm.

2016-06-18 Thread Christoph Lohmann
Greetings. On Sun, 19 Jun 2016 07:11:49 +0200 Alex Pilon wrote: > On Sun, Jun 19, 2016 at 02:28:14AM +0300, Cág wrote: > > Of course, tis just me. I'm sure Arch/Manjaro users > > will find it useful. > > Uuuum, systemd does process ACPI events… acpid does process ACPI events for me. Acpid didn’

Re: [dev] [dlogout] I wrote a basic logout-/shutdown-menu for use with dwm.

2016-06-18 Thread Christoph Lohmann
Greetings. On Sun, 19 Jun 2016 07:12:43 +0200 Thomas Oltmann wrote: > Hey everybody, > > I just started tinkering with dwm a couple of weeks ago. And I > especially love how customisable and extensible it is. No weird 'writing > Javascript Applets' or 'hooking into' other functions or fiddlin