eggsquad
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
oh didn't even realize 25.1 was released yet
368 replies
MModular
•Created by Jack Clayton on 5/11/2024 in #community-showcase
Lightbug HTTP: Mojo web framework
Yeah I was kinda hoping to wait for a QUIC impl to come around so we didn’t have to do that ourselves lol. Plenty of work to be done in 1.1 and 2.0 before we start worrying about that
368 replies
MModular
•Created by eggsquad on 10/16/2024 in #community-showcase
EmberJson: High level JSON library
What kind of content should I be doing? And how long, etc?
55 replies
MModular
•Created by eggsquad on 10/16/2024 in #community-showcase
EmberJson: High level JSON library
Oh wow what an honour! Yeah I can do that
55 replies
MModular
•Created by Jake on 1/23/2025 in #questions
List setItem vs append crashing?
I think the append based version is what you would want for something like this
4 replies
MModular
•Created by Jake on 1/23/2025 in #questions
List setItem vs append crashing?
List(capacity=n)
only allocates the memory but doesn't actually initialize it so it still has a size
of 0 and indexing into those elements is an out of bounds access. If you want to bulk initialize a list you want List.resize
4 replies
MModular
•Created by eggsquad on 10/16/2024 in #community-showcase
EmberJson: High level JSON library
Also a somewhat notable addition I've added some support for unicode character decoding so stuff like this works now.
55 replies
MModular
•Created by eggsquad on 10/16/2024 in #community-showcase
EmberJson: High level JSON library
EmberJson now has a stable channel release! Version 0.1.1 (because I botched my conda package in 0.1.0 lol) is available in the mojo-community prefix channel!
https://prefix.dev/channels/mojo-community/packages/emberjson
55 replies
MModular
•Created by eggsquad on 10/16/2024 in #community-showcase
EmberJson: High level JSON library
I find it easier to development on nightly so honestly I was largely waiting for someone to ask lol. I'm currently looking at some changes to float string conversion but I can look into doing one afterwards?
55 replies
MModular
•Created by eggsquad on 10/16/2024 in #community-showcase
EmberJson: High level JSON library
Not sure if this really needs announcing but I am formally opening up EmberJson to contributions! https://github.com/bgreni/EmberJson/blob/main/CONTRIBUTING.md
55 replies
MModular
•Created by eggsquad on 10/16/2024 in #community-showcase
EmberJson: High level JSON library
Ah yes I haven't made a stable version of the lib yet. No worries though thank you for trying the package!
55 replies
MModular
•Created by eggsquad on 10/16/2024 in #community-showcase
EmberJson: High level JSON library
@stano Seems to work for me now?
55 replies
MModular
•Created by eggsquad on 10/16/2024 in #community-showcase
EmberJson: High level JSON library
thats odd, I'll take a look, thanks for bringing this up!
55 replies
MModular
•Created by andesson reis on 12/16/2024 in #questions
What are the best practices for handling slices and their performance in Mojo?
Taking a slice from a
List
will result in a copy of the returned items, if you wish to avoid said copy you can use a Span
instead4 replies
MModular
•Created by fingers on 12/3/2024 in #questions
Intel based Macs
I wouldn't know for sure, but since they're practically deprecated I wouldn't keep my hopes up
3 replies
MModular
•Created by gamendez98 on 2/19/2024 in #questions
How long until mojo is production ready(guesstimate)?
I think that makes sense. GC is gross but I get what you're saying haha
89 replies
MModular
•Created by gamendez98 on 2/19/2024 in #questions
How long until mojo is production ready(guesstimate)?
I can generally get on board with that. I think we might want to consider how much we want people to be using
fn
. I think needing to think about this when using simple heap allocated collections will drive lots of people towards def
.
Originally I had always gotten the impression def
was mostly to make python programmers feel at home, but if we're instead going to say "fn
is for Owen and all the casuals should just use def
" (assuming the appropriate improvements to def
) I can convince myself that fn
should be imposing all these responsibilities on the programmer89 replies
MModular
•Created by gamendez98 on 2/19/2024 in #questions
How long until mojo is production ready(guesstimate)?
Yeah this is definitely going to require some very mindful consideration or the result will be very unpleasant for some portion of the user population
89 replies
MModular
•Created by gamendez98 on 2/19/2024 in #questions
How long until mojo is production ready(guesstimate)?
I see, makes sense
89 replies
MModular
•Created by gamendez98 on 2/19/2024 in #questions
How long until mojo is production ready(guesstimate)?
I imagine Owen can enlighten me but I also can't imagine a scenario where failing to allocate memory is a recoverable situation
89 replies