Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 20 03:03
    aardappel commented #151
  • Oct 20 02:54
    aardappel commented #152
  • Oct 20 01:34
    hubertpnj opened #152
  • Oct 20 01:25
    hubertpnj commented #151
  • Oct 19 23:59
    hubertpnj commented #151
  • Oct 19 23:59
    hubertpnj commented #151
  • Oct 19 23:59
    hubertpnj commented #151
  • Oct 19 23:49
    hubertpnj commented #151
  • Oct 19 23:47
    hubertpnj commented #151
  • Oct 18 19:50
    aardappel commented #151
  • Oct 18 19:50
    aardappel commented #151
  • Oct 18 19:37
    hubertpnj opened #151
  • Oct 15 17:57

    aardappel on alwaysclone

    (compare)

  • Oct 15 17:53
    aardappel closed #52
  • Oct 15 17:52
    aardappel closed #96
  • Oct 15 17:51
    aardappel closed #140
  • Oct 13 22:44
    aardappel commented #150
  • Oct 13 22:43
    aardappel closed #150
  • Oct 13 22:43

    aardappel on master

    Fixed parser not preferring fieā€¦ (compare)

  • Oct 07 00:27
    aardappel commented #150
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
Sumit Khanna
@khanna109_twitter

why

You can download and install flatbuffers using the vcpkg dependency manager:

git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
./vcpkg install flatbuffers

doesn't work, as documented on https://google.github.io/flatbuffers/flatbuffers_guide_building.html ?

Wouter van Oortmerssen
@aardappel
this is the lobster gitter, not the flatbuffers one :)
but yeah, I am not familiar with vcpkg, not sure how the flatbuffers package on there works
what is the error? maybe you can open an issue on github
Sumit Khanna
@khanna109_twitter
apologies, was looking at same, don't know why clicking at flatbuffers link I 'd land here..
Wouter van Oortmerssen
@aardappel
and we can track down whoever made the vcpkg
Sumit Khanna
@khanna109_twitter
no error - it just doesn't install anything, steps sork fine. never mind, let me hit the right community :) thanks much!
Well I think I figured it out - it was not just adding to the $PATH - did it to have it working. Thanks anyways and apologies for having bothered wrong community.
Bo Zhang
@zenbozenbo_twitter
Hi guys, qq, if i created a flatbuffers, do I need to explicitly release the buffer? Or the mem is recollected after it goes out of scope? Thanks
Wouter van Oortmerssen
@aardappel
In C++ I presume? if you just created a FlatBufferBuilder it will release the buffer for you when it goes out of scope.