It is entirely too after 5pm to deal with someone else's javascript
javascript is a perfectly fine language that you should only touch if someone is paying you
I'm looking at this package manager and the install page lists 19 different ways to install it
I finally gave in and just followed the install guide on their discord that required me to install a bunch of software on my laptop that is running out of space.
it compiled for 10 minutes and then immediately threw an error when I went to localhost:8080
computers were a mistake. javascript doubley so
@foone only doubley though, never intily so
@glyph no we can't have ints.
I think that might be a useful way to divide programming languages: will they give you an int, or are all numbers doubles in some way?
@foone@digipres.club @jyn@tech.lgbt @glyph@mastodon.social
you get to decide how big those ints are! but in a really annoying unportable way.Is this...is this about C?
@tertle950 @glyph @jyn
yeah! I've done 16bit x86, 32bit x86, and 64bit x86 THIS FUCKING WEEK! what's an int? I HAVE NO IDEA
@foone@digipres.club @tertle950@kitty.social @glyph@mastodon.social @jyn@tech.lgbt
Fun fact: char doesn't have to be 8 bits!
It's just the smallest addressable unit that can contain characters on that implementation!
@tertle950@kitty.social @foone@digipres.club @glyph@mastodon.social @jyn@tech.lgbt
Welcome to hell.
Everything is implementation defined.
@claireh@transfem.social @foone@digipres.club @glyph@mastodon.social @jyn@tech.lgbt Oh hey, nice clarification edit. So if the implementation has Unicode as a first-class citizen, we've all just been done in?
@tertle950@kitty.social @foone@digipres.club @glyph@mastodon.social @jyn@tech.lgbt
I think it depends on the CPU architecture more than anything. As of C11 a char is a byte and a byte is:
byte(Multiple edits because it's 5 am and I am too eepy to really be discussing this)
addressable unit of data storage large enough to hold any member of the basic character set of the execution environment
2 NOTE 1 It is possible to express the address of each individual byte of an object uniquely.
3 NOTE 2 A byte is composed of a contiguous sequence of bits, the number of which is implementation-defined. The least significant bit is called the low-order bit; the most significant bit is called the high-order bit.
@tertle950@kitty.social @foone@digipres.club @glyph@mastodon.social @jyn@tech.lgbt
Anyway yea
Welcome to C.
There are no gods here. Only UB.