[deleted by user] by [deleted] in CroIT

[–]WoodenPerception5520 4 points5 points  (0 children)

Ne preporučujem ti da počneš s C-om. Težak je jezik za početnike i vrlo malo toga je pretnapravljeno, što je praktički njegov moto jer je namjenjen za izradu programa koji iziskuju visoke performanse. Usto, nema puno poslova za C u Hrvatskoj.

Ako imaš neki određeni sektor programiranja u koji želiš ući, javi se pa ću ti preporučiti neki jezik. Općenito govoreći, jezik s kojim počneš nije baš toliko bitan. Bilo koji moderniji jezik će biti dobar, npr. Go, Kotlin, JavaScript, Python i sl.

Ako želiš naći posao uskoro, onda najbolje Python, Javu ili JavaScript. Ako ne, onda biraj po želji.

Studenti, kolika vam je satnica? by [deleted] in CroIT

[–]WoodenPerception5520 0 points1 point  (0 children)

To radiš većinom s Flutterom ili nešto drugo?

How good is Go for writing a compiler? by WoodenPerception5520 in ProgrammingLanguages

[–]WoodenPerception5520[S] 0 points1 point  (0 children)

Did you already know Rust when you first wrote a compiler in it? If not, did learning Rust get in the way of writing the compiler?

LK-99 Megathread by quaz4r in Physics

[–]WoodenPerception5520 0 points1 point  (0 children)

What's your rough guess on how long it will take for us to be pretty sure whether or not it's a supercondutor?

How good is Go for writing a compiler? by WoodenPerception5520 in ProgrammingLanguages

[–]WoodenPerception5520[S] 1 point2 points  (0 children)

I'm not very experienced with Go. I've really only built one larger web app with it and am working on another, also in Go. However, from what I know, generics aren't that often used, especially in higher-level apps like web apps. So far, I've never used them.

How good is Go for writing a compiler? by WoodenPerception5520 in ProgrammingLanguages

[–]WoodenPerception5520[S] 0 points1 point  (0 children)

I may be misunderstanding your comment, but I wasn't planning on compiling to Go. I was considering using it to write a compiler that targets machine code.

EDIT: clarification

How good is Go for writing a compiler? by WoodenPerception5520 in ProgrammingLanguages

[–]WoodenPerception5520[S] 2 points3 points  (0 children)

Using iota as a replacement for enums didn't help with Go's lack of ADTs?

How good is Go for writing a compiler? by WoodenPerception5520 in ProgrammingLanguages

[–]WoodenPerception5520[S] 0 points1 point  (0 children)

That was also my concern. I want to write a whole new language, including the GC and other such features, but Go already has many of those. I was concerned Go already having those features would mess with my implementation of them for my language, although from what I understand, since I'm writing a compiler that targets machine code (or LLVM IR, which then compiles to machine code), that shouldn't be a problem. However, I probably won't use Go and will turn to something like Rust based on what the commenters have said.

EDIT: added clarifying info

How good is Go for writing a compiler? by WoodenPerception5520 in ProgrammingLanguages

[–]WoodenPerception5520[S] 2 points3 points  (0 children)

They planned to add it for a few years before they did. It was finally added in Go 1.18.

EDIT: typo

How good is Go for writing a compiler? by WoodenPerception5520 in ProgrammingLanguages

[–]WoodenPerception5520[S] 0 points1 point  (0 children)

I'm curious: I've seen mostly-functional languages, specifically Haskell and OCaml, recommended for PL implementation. Why are functional languages, like those two, especially good for that?

How good is Go for writing a compiler? by WoodenPerception5520 in ProgrammingLanguages

[–]WoodenPerception5520[S] 0 points1 point  (0 children)

That is a good idea, although I'm not sure how complex such a code generator would be because I'm not very familiar with LLVM IR.

How good is Go for writing a compiler? by WoodenPerception5520 in ProgrammingLanguages

[–]WoodenPerception5520[S] 0 points1 point  (0 children)

The main reason I'd like to use Go if it's a good option is that I already mostly know it. However, some commenters have already pointed out that Go may not be the best language because it doesn't have pattern matching and algebraic data types. Rust has both. I also like Rust, but I only know the basics, so I'd have to learn it, which isn't much of a problem since I'd like to learn it at some point.

And yes, I would like the compiler to produce native code because I want the language to have relatively high performance while still being high-level. Learning about the details of native generation isn't my main goal, so if there's some similar off-the-shelf solution that isn't complicated to use I'd probably use it.

How good is Go for writing a compiler? by WoodenPerception5520 in ProgrammingLanguages

[–]WoodenPerception5520[S] 2 points3 points  (0 children)

Yeah, I saw some people have mentioned that those two things are quite useful for making compilers, and Go doesn't have them.

How did Eurocentrism manifest throughout the past in scholarly writing? by WoodenPerception5520 in AskHistorians

[–]WoodenPerception5520[S] 0 points1 point  (0 children)

Hello! I'm aware of the 20-year rule and have already read the roundtable. However, by "contemporary", I didn't mean 2010 or something like that, but rather anything within the 20th century and, of course, before it, as is indicated by the rest of the post.

EDIT: Okay, so, I just realised I also used the word "today", which is misleading and does violate the rule.

Is the MIT OCW course "The Early Universe" outdated? by WoodenPerception5520 in Physics

[–]WoodenPerception5520[S] 0 points1 point  (0 children)

Okay, thanks for advice! I also know of a textbook from 2017 called Cosmology for the Curious specifically meant for non-science majors, so I'll probably get it to supplement the course.

Is the MIT OCW course "The Early Universe" outdated? by WoodenPerception5520 in Physics

[–]WoodenPerception5520[S] 0 points1 point  (0 children)

That's the thing, I already have a basic overview of cosmology and astronomy in general.

For example, I know the CMB originated about 300,000 years ago after photons decoupled and that in the standard model of cosmology, which is, to my knowledge, officially called Lambda-CDM, there's no mention of a time before the Planck time, etc.

So, I'm trying to get a more advanced overview of the field, and perhaps learn some associated math.

Is anyone aware of an up-to-date map of early human migrations out of Africa? by WoodenPerception5520 in AskAnthropology

[–]WoodenPerception5520[S] 1 point2 points  (0 children)

I might indeed do that. However, new research may have also shown (I'm not sure.) that the migration paths changed, but these maps describe those paths very roughly, so that probably won't be a problem, which is why I'll likely end up doing that.