Programming thread

  • Want to keep track of this thread?
    Accounts can bookmark posts, watch threads for updates, and jump back to where you stopped reading.
    Create account
fil-c appears to implement pretty much everything you would do in standard c in a way that conforms to the c standard
the main difference appears to be that fil-c tries as hard as possible to make sure that every instance of "undefined behavior" in the c spec is met with a clean crash and an error instead of nasal demons
If so. There should at least be a push to get similar behavior implemented in the other C compilers by default, With a flag to switch it on and off, or at least not by default, but still with a flag to turn it on or off. It just seems like the logical move. It's not like either gcc, or llvm are tryng to be minimal in anyway at this point

I do think it would be interesting to see fil-c go slightly further. Short of full on rust, and it's safety and the borrow checker. And still leaving c open to be used in the same use cases it does well in now.

Like rust from what I understand intentionally makes it difficult to do thing that are considered unsafe by how it implemented some things. So people are not as likely to try using it for those things. And those kinds of tasks make C look particularly appealing. I think if there is a place for that kind of language. One that's still simple, and minimal, and everything else that C is. While it can help check double check that things aren't being used when they aren't supposed to be, or any of the other common bugs C might run into.
 
VSCode has been getting on my nerves and is a bit stale, should I learn Emacs or Neovim?
I've found the jetbrains IDE's to be fairly good
i personally like it
thats how kiwifarms does it
on kiwifarms theres a difference between a shift + enter and a regular enter too

if youre in a quote shift+enter makes a newline inside the quote while enter makes a newline outside the quote
and then you can press ctrl enter to post the post
I thought ctrl+enter was the html standard for submitting a form?
if GIF is pronounced "jif" then JIF should be pronounced "gif"
Too bad the proper way is yiff
Time for some hot takes:



(((JewNU)))
Great video. And C++ is still better than JS
 
I’m actually really eager to learn why Javascript is such a terrible language. Besides being popular with jeets of course.
javascript being bad is mostly a gay meme
it's mostly the... interesting... things the language does when you use values of different types in various expressions, and other assorted cruft that has accumulated due to it having evolved out of a retarded hack made in the 1990s
also almost everybody who uses the language is terminally retarded and there are many atrocities you are all but forced to deal with if you wish to write javascript programs (hello npm)

really it's just the c++ of dynamic languages: more generally depressing than actually genuinely bad
 
I feel like the bad thing about javascript, is mainly the untold amount of evil the language is used for on a daily basis by jeets, and fang companies.

You could probably say the same about other languages, but it seems like javascript is the language of choice for violating someones privacy, doing some kind of hack through a browser ( it would probably be another language if javascript wasn't so tied to the internet), or implementing piece of shit sites that are 100x slower than they have to be. It's the main thing you disable in your browser if you are trying to improve security and privacy.

None of that really says much about the actual language though. From what I've seen, it just seems like a mid interpreted garbage-collected language,

I feel like over the next decade it might start losing it's dominance. But I could be wrong. Python has consistently gotten more popular, and javascript being as popular as it was, wasn't exactly because it was great. It just happened to work out how it did, kind of like most trends with this stuff, something just happened to stick, so people went with it.I actually just saw something that mentioned a bit of the history on this. I think it was this video about why functional languages weren't used as widely as oop. Anway the point is, I think python could overtake it, and with more performant languages like go becoming more popular. I could see it dying out a bit over time. I don't think we will see it go away all together, but I think it could lose the dominance it has now.
 
I feel like the bad thing about javascript, is mainly the untold amount of evil the language is used for on a daily basis by jeets, and fang companies.
With most languages the language itself is fine, although sometimes you need to use a subset and disregard the bad parts. The measure of how 'good' it is lies mostly in the tooling and ecosystem.

When a language has a low barrier of entry, it will attract low quality code monkeys who spit out lots of shitty (but somewhat useful) packages. Conversely when a language is more targeted towards professionals, it will have better packages but way fewer.

I think Go has partially solved this problem by letting the professionals write a high quality broad standard library. My issue with it is that is has one (de facto) compiler and is happens to be authoritative as fuck. Let me use spaces instead of tabs for God's sake!

JavaScript manages to avoid all these problems. In JavaScript the browser APIs are the standard library and it doesn't expect you to use any specific kind of tooling. I don't want your gay NPM PNPM babel yarn build tools. I can just use any library as a bundled .js file and include it in my no-build setup.
 
For GIF to be pronounced Jif also requires the following:
Graphic to be pronounced Jraphic.
GUI to be pronounced Jewey.
GNOME to be pronounced Jnome.
GNU to be pronounce Jnoo.
 
For GIF to be pronounced Jif also requires the following:
Graphic to be pronounced Jraphic.
GUI to be pronounced Jewey.
GNOME to be pronounced Jnome.
GNU to be pronounce Jnoo.

The problem with this is that when CompuServe invented the format, they said it was supposed to be pronounced "jif" because, as the first widespread image format to offer compression significantly better than the simple run-length encoding of PCX, the images were supposed to download in a jiffy.
 
The problem with this is that when CompuServe invented the format, they said it was supposed to be pronounced "jif" because, as the first widespread image format to offer compression significantly better than the simple run-length encoding of PCX, the images were supposed to download in a jiffy.
from what i've read it's literally because of jif the peanut butter brand and their "choosy moms choose jif" commercials
 
For GIF to be pronounced Jif also requires the following:
Graphic to be pronounced Jraphic.
GUI to be pronounced Jewey.
GNOME to be pronounced Jnome.
GNU to be pronounce Jnoo.

Is reddit down?

Gypsy, giraffe, gemstone, genome, etc. (soft g followed by vowel, like GIF)
SCUBA, LASER, etc. (differing pronunciation of letters in acronym vs. initial phoneme, like GIF)
You forgot GIF -> GIFT (also wrong, see pin -> pint)

If you want to pronounce it wrong, go ahead, but you should know that this is the dumbest gorilla nigger defence of your position. (Trying to apply simple and sensible rules to the English language is a large part of how we ended up in this mess in the first place.)
 
Back
Top Bottom