Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 19 02:11
    aardappel commented #134
  • Jun 19 02:11
    aardappel closed #134
  • Jun 19 02:09

    aardappel on master

    Fixed Dear Imgui not compiling … Cleaned up emscripten Makefile (compare)

  • Jun 19 01:10
    aardappel commented #134
  • Jun 19 01:10

    aardappel on master

    Fixed bad conversion causing il… (compare)

  • Jun 16 21:50
    aardappel commented #136
  • Jun 16 21:47
    aardappel commented #136
  • Jun 16 21:46
    aardappel commented #136
  • Jun 16 20:24
    dumblob commented #136
  • Jun 16 19:37
    aardappel commented #99
  • Jun 16 19:37
    aardappel closed #99
  • Jun 16 19:37

    aardappel on master

    Fix `is` to only be true on exa… (compare)

  • Jun 16 18:56
    aardappel commented #99
  • Jun 16 18:31
    dumblob commented #99
  • Jun 16 16:50
    aardappel commented #136
  • Jun 16 16:40
    aardappel commented #136
  • Jun 16 16:32
    aardappel commented #136
  • Jun 16 16:22
    aardappel commented #136
  • Jun 16 15:54
    aardappel commented #99
  • Jun 16 10:01
    dumblob opened #136
Wouter van Oortmerssen
@aardappel
if you have any questions.. fire away.. here or on discord
andrewchambers
@andrewchambers
will do, thanks. Is discord more active?
Wouter van Oortmerssen
@aardappel
yup
andrewchambers
@andrewchambers
minor thought, I don't know if you saw this project: https://github.com/vnmakarov/mir
it looks like it has a C based jit much like libtcc
but with a few more optimization passes
maybe not suitable, but maybe worth a look at least.
Wouter van Oortmerssen
@aardappel
yup seen it before
(I keep a list of code generators :)
andrewchambers
@andrewchambers
nice
Wouter van Oortmerssen
@aardappel
last I checked there was no Windows support for example
andrewchambers
@andrewchambers
ah ok, deal breaker
Wouter van Oortmerssen
@aardappel
thing is with these projects.. it needs to be damn stable and robust if you're going to base a language on it
can't afford that in some combination of things it generates buggy code or whatever
that tends to trim the options down
libtcc isn't fancy but it is rock solid
andrewchambers
@andrewchambers
well, i've found a bug or two :P but yeah, if it ran linux its probably more complete than most things
Wouter van Oortmerssen
@aardappel
yeah nothing is bug free
andrewchambers
@andrewchambers
did you consider anything like macros for lobster?
Wouter van Oortmerssen
@aardappel
I have, at various stages
though right from the beginning, the idea was that Lobster's Higher Order Functions can do most things macros can do
andrewchambers
@andrewchambers
I think the other part could be solved with compile time evaluation and marshalling the result to your bytecode
if that makes sense
things like precompiling regex
Wouter van Oortmerssen
@aardappel
like in C, sometimes you want to make some abstraction a function, but you can't, because the you must be able to jump out of it / short cut a loop.. well in Lobster you can
andrewchambers
@andrewchambers
right, makes sense
Wouter van Oortmerssen
@aardappel
oh yes theres always things that can only be done by macros / compile time eval / codegen.. but so far haven't run into compelling uses for it in Lobster
not excluding it won't happen.. just going to wait until its really needed :)
there's already some compile-time eval.. i.e. the language guarantees compile-time if-thens, meaning you can have type errors in constant-false branches etc
I wouldn't mind extending that, as that is more elegant than macros to me
what do you work on?
andrewchambers
@andrewchambers
Not games haha, various backend services. I am kind of obsessed with trying new programming languages
Wouter van Oortmerssen
@aardappel
need more people like you :)
andrewchambers
@andrewchambers
the quest for the nicest language is kind of eternal
Wouter van Oortmerssen
@aardappel
you don't say
andrewchambers
@andrewchambers
you always end up liking one thing from one language and hate something else
you might be onto something, where the only way to get exactly what you want
Wouter van Oortmerssen
@aardappel
well, its almost such that each programmer has their own unique ideal.. so in theory every programmer needs their own personal language, haha
andrewchambers
@andrewchambers
is design one just for your own taste
yeah
haha
Wouter van Oortmerssen
@aardappel
well, Lobster is part just my preferences, and part actual novel research
as it is with a lot of languages it seems
andrewchambers
@andrewchambers
In the past I have used a lot of lisp languages, but the lack of static types really does get to me. I mostly agree that macros would almost always be better served by HOF. And I really agree that gc has some problems. For me the fact that the gc can't be triggered by something like dangling file handles really annoys me.
so if you forget to close a file descriptor its just gonna be cleaned up at some arbitrary poitn in the future
based on your allocation
did you find the lifetime analysis was complex to implement?
andrewchambers
@andrewchambers
I guess I'm wondering if it's the type of thing that will be very hard for other languages to implement once they know it is possible.
Wouter van Oortmerssen
@aardappel
yup the lifetime analysis is probably more complicated than the type inference
even though the latter is slightly more code