Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 20 22:40
    bartwe opened #174
  • May 20 00:32

    aardappel on master

    Disallow cyclic imports (compare)

  • May 18 23:10

    aardappel on master

    Improved cg_load_vox errors (compare)

  • May 16 20:10

    aardappel on master

    Add magnitude_squared, fix typo… (compare)

  • May 16 20:10
    aardappel closed #173
  • May 16 20:10
    aardappel commented #173
  • May 16 20:10

    aardappel on master

    make glsl errors easier to spot… (compare)

  • May 16 19:49
    bartwe opened #173
  • May 16 19:41

    aardappel on master

    Shared palettes for cubegen (compare)

  • May 15 16:43
    aardappel commented #56
  • May 15 15:28
    argvsc47 commented #56
  • May 06 04:29

    aardappel on master

    disabled subprocess.h on mobile… (compare)

  • May 05 23:29

    aardappel on master

    new subprocess.h sound_position() (compare)

  • May 02 18:56
    aardappel commented #100
  • Apr 30 00:25

    aardappel on master

    Added application icon (compare)

  • Apr 27 03:03
    Xarvie commented #171
  • Apr 27 02:35
    aardappel commented #171
  • Apr 27 02:06
    Xarvie closed #171
  • Apr 27 02:06
    Xarvie commented #171
  • Apr 27 02:00
    Xarvie opened #171
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.
Marcelo Eduardo
@marceloeduardo
Hey everyone , I am excited ( but also very aware of my limitations ) with lobster. thanks for creating and pushing it!! Quick question: wanted to know from mac users here (specially m1) how did you get it running? I did both the latest binary path, and the xcode path but keep getting the "zsh: killed ./lobster"
Wouter van Oortmerssen
@aardappel
@marceloeduardo I'm afraid I don't have an M1 and have not been able to test it on that.. Lobster uses JIT, so it may be, even if you have the x86 version, that it is trying to JIT x86 code and the current x86->arm translator doesn't like it
the thing to do would be to run it under xcode to get a stack trace where it is crashing
also, more chat going on on https://discord.gg/szJPYdX than here on gitter
Marcelo Eduardo
@marceloeduardo
ah will join there. That's was my guess as well.
Marcelo Eduardo
@marceloeduardo
I will jump to discord, but just to let you know, when I set the target to Rosetta -> it works.
Wouter van Oortmerssen
@aardappel
@marceloeduardo ooh nice, didn't know
Marcelo Eduardo
@marceloeduardo
when you mentioned the x86 code, i immediately thought of Rosetta. Now I am running through some of the examples and will do the shooter tutorial to make sure everything is good on M1s ! thanks again Wouter!
Wouter van Oortmerssen
@aardappel
@marceloeduardo awesome.. let me know if you run into anything else