#⌨coders-cave
1 messages · Page 99 of 1
What stuff?
I'm stuff
im stuffed
um.... how to convert txt into yaml?
:(
its all a burning memory starts playing
now make it dynamic

hello
@edgy trout Do not hate on any groups of people!
Tree men be hating on people smh
Broooo 0101000101000010101010010 and then 101001011101010010
so deep
10101 11001 00110 10101 101011
😔
Haha
1111001 1101111 1110101 111001 1 1101101 1101111 1101101
Nerds
Ignore the mortals
With your rainbow computer thingys and your monster energy drinks
Ew monster
Fun fact: if we didnt exist you wouldnt be here telling us we are nerds rn
So shush
Go back to playing world of Warcraft or whatever you play
I’d be out killing with my sword on a glorious crusade
I pway fortnite
Sure sure go play fortnite
I joke I don’t play fortnite
Arent you the guy that argued with cmj for some reason
Ok well he is in general
Yeah I know
Then go talk to him
No I want to talk to you
But I.dont wanna talk to you in this chat which is about coding
And we are currently off topic
Well then why don’t we go to general
Lets go to general
Ok
Maybe that would be better then what we are now
I finnaly created my first ai!
It is kinda dumb ngl but it works
Its goal is simple-go to cubw
Is it gonna help you get some bitches
📈 
With numbers
Some coding+unity
Rude
C# + unity library called mlagents
The lib is made in python btw
And i made ai tests via cnd
Cmd
I mean matters
You could think of some really nice ai pick up lines
Or go to a programmers club or smt
Or if you are desperate make your ai to be one
Ah sorry bro let me just convert 01011010010001001000101000011 to
.. / .... .- -.. / ... . -..- ..- .- .-.. / .. -. - . .-. -.-. --- ..- .-. ... . / .-- .. - .... / -.-- --- ..- .-. / -- ..- --
says the person who asked if the guy making an AI is getting any bitches with that ai
i think that's already a thing
..br
ok
ok

Good idea
And programming in lua is like a war crime, couse u commit war crimes

1bit processors how bad would they be.....
They would obviously be unfunctional
Yea that sums them up actually
Wdym?
try analog computer
it is
they do fast computation
Thats answers
Only about 10% of my questions
Like why
Go through the trouble of doing that in the first place
Clock speed.
how to open .dll?
Eh
||that explain why almost all System32 files are in this extention||
Seems rather counterintuitive
But I guess that makes sense
So wait does it act like a 16 bit processor
Because then it would seem pretty nice
With access to real mode it would be useable
I suggest dnSpy
used it to mod worldbox, works like a charm
btw... are the system32 .dll files extra coded
like do they look like that: xhsye disgdlsu udbskdhg
or they just normal code
uhhhh never tried opening them tbh
||i think i will try then||
how to setup it tho?
i mean i never tried it
I havent set up a vm myself either but from what I know its not that hard to basically get one running especially if you are going to break it later anyway
Dude I was just messing...
goddamnit
I have no idea why anyone would want to make a 1 bit processor
I thought another low level dev entered the chat
I mean I have a decent knowledge of low level ig?
ah nice
I've designed a MIPS inspired 16 bit datapath for comp arch
I cant tell if you are still messing with me or not
now im sus(short for suspicious)
it did?
yeah its green now
well anyway glad to know there is another low level dev in chat
I have been the only one for...as long as I can remember
aight well ima stream cuz I will be doing some pretty repetitive tasks and I will get bored
@cloud solar if you want you can come stream too
Eh I wouldn’t exactly call myself a low level dev
As a well rounded CS major I have an understanding of low level stuff and can do it if I’m told to, but I tend to work on higher level stuff
Naah... imma go to sleep couse i did a lot more than i thought i will do today
ok
for pain
🅱️ox
So that people can scream at me
I personally think c++ is a failure in the c languages
For low level development it provides absolutely nothing new with overcomplicating everything
And its not a high level language so it cant do high level
._. thats true tho
The only reason im still using it is because translating everything I have back to c would be pain
So i think C is better because it actually provides good low level and c# is better because it provides good High level
c# is the best
Im ready to be screamed at

Actually matters for what you are doing
im using Unity+c#
Well then you are kinda forced to use it
But anyway with that out of the way
Stream?
ok... i can start even earlier
i will be streaming krita
make some art... not really related to any current project i am working on
Ok
Coming in a sec
I will be doing some pretty hard stuff today
Implementing a terminal
So might not talk as much
lemme look
Really nice
they look better than what I can make thats for sure
@cloud solar What do you think about this startup screen? I dont really know what colors to make it so if you have suggestions tell me
lemme check
lemme just fix this real quick
I thought of making it gray or smt
but that looks strange
u mean the bg?
ok
oh wait I misread green for gray...
I think I need sleep
nah maybe later
yea green didnt end up looking good
what happened
@cloud solar
yes
basically
there are some c++ things here and there but they have probably brought me more bad than good

and here come
the infamous
linker errors
I honestly have got 0 clue on how to fix this
coders
Way too political
An unofficial .Net wrapper for the Discord API (https://discord.com/) - GitHub - discord-net/Discord.Net: An unofficial .Net wrapper for the Discord API (https://discord.com/)
and smash your keyboard with your head
Ask google the exact same question
It will be more helpful
Unlike asking it a layout of an interrupt descriptor table where it will just flip you off and tell you what it means
!rank
Someguy sent him here
💀
He asked in general
I know
that guy is a sick bastard
i prefer hamza whining about C# being his hod
also
dpy having a remodel
💀
everything has so many major changes
and April is coming soon
get your message intents
as soon as possible
and discord.py disable it by default
what's a hod
and why is it being C#
wat

you read next line
if its attack
you do anything you want

im busy to answer your infinite amount of questions
Ok so
What I can see is that
You lack very important knowledge for creating a game
So I suggest first learning the language getting some programming thinking and then getting into game development
And especially problem solving
100% this
you know the boring theory stuff you learn in school
although programming thinking can also be developed through practice
programming is essentially problem solving
yup
Yes but
Practise assumes you already know some things
I have never had programming in school
Completely self thought 
I too think myself
I was lucky to figure out my passion early enough 
Lucky
I decided on a whim to switch from EE to CS right before starting college with one high school class of coding experience lol
self-taught gang
im curious, in CS classes
did you learn about the os structures
like IDTs, GDTs etc
thinking of learning CS but I wanna know what it has to offer
memory maps too
The OS class I took was more of an intro class
Im guessing bootloaders?
Uh we're using an ubuntu VM and are just doing a bunch of simple apps that explore concepts that explain the motivations and benefits of having an OS
oh so its not like a build your own OS classs?
no, the most we do in that class is make a linux kernel module that schedules simple processes
there are more advanced OS classes available, but they figure that most CS students won't be doing that kind of work so they only require the intro class
but isnt it thought that cs students will be interested in os building
I kinda always imagined that cs is mainly for that
honestly, the school i go to doesn't teach like most other schools imo
it's very industry based and has less of a focus on pure academics, so the required coursework is geared toward getting students into jobs and doing well in those jobs
hmmm interesting, it seems os development knowledge is even rarer than I thought
yeah lol, os development is a pretty niche thing
Im really interested in this and wanna do it but I literally dont know if I can even begin to start learning it as there is nothing about it
I mean I have started learning it
For a few months
but I mean in university
and if I will even get a job as an os dev
well
why are the most interesting things always the least good 
if you went to uni, you could probably get a good OS education, it's just that it would be part of a much broader program
hmm interesting I will need to do more research on this
Honestly I think uni is probably going to be the best option for OS dev
oh yes lol there is no way im learning it otherwise
its way too difficult and big to be self tought and probably not very good for just taking random classes
Yeah lol it's not like web dev where you can just watch a youtube video and have a full understanding of it
I have been doing it for about 3 months and for those 3 months I have learned...how to boot the os and maybe do some interrupts and find memory which is about 5-6% of the os
its insane and im a masochist for learning it tbh lol
oofers
please anything else but web dev
most money comes from web dev nowadays but it is so fucking boring
well if you want I can give you a quick overview of my understanding of OS stuff
sure if its something like how tasks work it would be really useful as im just getting into implementing them
eh maybe front end as a money maker while im learning this shit
its very boring but better than living in a box with a pc that has 512kb of ram
fair
ah it probably won't be quite that low level
ok well brb in 10 mins
more along the lines of the strategies you might want to consider for larger structures
hate it
bro fun + money wdym
its so fun making new apis and websites
eh it can be fun when you're actually pushing yourself like making a portfolio, but it you get stuck with a less interesting project it can get boring asf
but yeah I certainly can't slam it too much, most fun I have is working on discord bots
Im back and it has been longer than 10 minutes
I mainly wanna try frontend web dev because of how...easy it is
Im getting kinda tired of doing insanely difficult shit I barely understand so I wanna chill a little bit
And I dont mean getting tired as in less interested, Im literally getting physically tired from this
plus not having to compile my code myself would feel like a blessing
He is indeed a man in plate armor who is dancing, now whether or not he is a knight is up for questioning.
Knight is a title and we don't know if he has it.
So prove he's a knight.
what do you think self-taught means
a person who taught themselves
leaen to google everything
How do you code and where do you start
and dont be ashamed of using the internet to help you code
i see i see
Depends on what u wanna do
The path is similar but maybe some pages can help more for certain things u wanna learn
Thats 90% how coding works
Change my mind
school
its our code
Add the dancing squriel if you 69420
lol, it's quite nice to chill in school with friends and make dumb games
especially because I have 3 monitors here at the school
but sometimes it feels like I'd need a fourth
3??
I wanna go to your school lol
Only time I've used more than one monitor was during my internship, and it was amazing
I was like
"wtf 2 monitors??"
I have 2 at home but I love having a monitor for everything. Like when I am doing unity I feel like I need 4 monitors. One for unity editor, one for game view, one of visual studio and one for google, discord etc.
But I have to use the same monitor for google and unity editor

I just use windows + tab + arrow key and swap dekstop very quickly lol. Not the same as having both at the same time but it works
nvm it's win + ctrl + arrow key
fair that's honestly good enough but I've just had 2 or more monitors always so I am not used to it
With code you cant really change os dependant stuff with windows
You can change the icon tho
today I was working on something
thought about how cool it would be to get random values working with this thing I was working on
and it took me so long to implement them
I forgot why I implemented them
coding 👍
I also forgot what I was working on in the first place
Hey guys,i am a green hand in making a mod.and in my expectation,i will made it by BeplnEx and NCMS(though i still not fingure out how they will be cooperated when i in practice).now on the first step i face the problem.what's the correct version of "System.Core.dll"in"managed"in"worldbox_Data"in"worldbox"?by following the course of making a mod,and the one of preparation is making sure what's the version of "System.Core".but i find that difference of version between worldbox in my two computer.the one in laptop is 4.0,and another one which is in desktop is 4.6 .so which one is right ,or is that some special situations i don't know?
the course is just an article, more likely a guide,so after i learned some basic knowledge of c#,now i try to make mod with lackness of experience. so i need some help
hi
#🔧modding-talk and channel topic
Noone here, or atleast most people here, knows shit about modding worldbox
Ok hello
not sure where you're getting a different system.core, but use the one that came with the game
if you have 2 versions, use the more recent one
bill gates
I just noticed this was a chat and this is directed towards the developers so here you go!
Copy and paste from General
Uh just a quick question, most mods like Powerbox and Traitbox or even the features in Simple GUI are really really simple mods. They don't even overhaul scripts and just add quality of life improvements like Being able to choose what nation the aggressive nation wishes to attack or make peace with, This way we can better do nation allying or assisting during wars.
My question now comes down this, why not work with these mod creators to add these "mods" as actual features in the game?
PS: From what I've seen and from my experience this should be just a simple copy and paste job from the mod files to the main games script. Just seems like alot of pros to do this and not alot of cons.
Firstly, this is #⌨coders-cave (meant for general programming, not worldbox, #🔧modding-talk is for modding/worldbox)
There are workflows and what-not that are entirely set up differently and you don't want to add external code willy-nilly, because then it would get messy and chaotic. Even the way they format the code is in a specific way so that it's uniform, you can ask Cody and he can tell you all the specifics he has to do when he writes for the game. Another reason is the developers would have to deal with who owns the code and god knows what potential legal trouble. So assume you can sort the legal troubles, and convert the mod into a format that is appropriate and works with their system, which would not be a five-minute task. Why would you ever do this over just making it yourself? If you're maxim (a developer), and you have 2 other people that do programming for worldbox, and is paid to do so, who work the conditions and formats you use day to day there is no reason to not make it yourself. It's simply easier to do it that way and there are none of the above issues when you do that. Maxim did hire Cody after he did modding for the game, but they didn't implement the mod into the game, and probably won't ever. They may be influenced by a mod to make a feature, but they do it in their system their way for the least amount of conflict and the most amount of optimization and control.
Also, it's sort of an insult to call the mods simple. They both operate a lot of features that aren't done in one day. Overhauling an entire system is tough for the developers to do when they have the direct source code when modders have simply decompiled code and different limitations that make it harder. I mean if you look at the next update they're updating and upgrading war stuff, as well as a bunch of other stuff as their jobs they literally live off of; it's taking them months.
tl;dr Easier to make their own version themselves, also mods are not exactly "simple"
Ah well let me start off by apologizing for calling them "simple". What i meant by simple is that there is no mods that add a new race, a new biome or a new items/graphic/skin changes so from what i understand, those types of mods are "Simple" compared to something like a complete overhaul mod.
Secondly, i had no idea how the game devs scripted/codes the game so i figured it'd be an easy copy & paste like it is usually.
Lastly, then let me restate my question, why not look towards adding these types of features? Like increased in game speed, being able to control nation specfic war and peace, and being able to add traits or items?
There are a few new races mods (or units, entire races would require lots and lots of building sprites), I believe powerbox has a few units, but a lot of units are in the two or three chinese mods not translated or posted here.
The features chosen are an enigma even to maxim himself, basically he has a rough idea of things he wants to add, and sometimes he adds a fun new power or creature. He's focused on core stuff lately, like we literally only had grass, sand, and forest "biomes" before the biome update, and didnt have boat travel for the longest time. These type of things are just more important. Again he also adds random powers or creatures for fun as well, so its not like a set thing
i think it can boiled down pretty simply, maxim has given players the type of control he wants them to have
im not sure what reasons there are for it
speed is an easy one to answer
speed is because game go kaboom if too high
right
the others hes asking about just come down to maxim says so
the fact we have mods for it is good enough imo
I'll say that he is probably comfortable with the control level for now, leaving more important things to be done
Maybe later on you'll see more fine tuning, but the game is still trying to flesh out its core stuff
Yooo
we have had more complicated mods that you just havent seen as well
i made an asset loader that allowed adding and customizing a shit ton of stuff, there have been multiple multiplayer mods, various content mods with different themes
it is worldbox, but you can kind of spin this for any game really
whats available this minute isnt ALL thats ever been available
hallo daniel
with icbm we had entire race/building setters in a few lines
refuses to elaborate
it technically was asset adding actually
it was, copied from the original stuff in simplegui
non
i believe the command even used the same phrasing i had for simplegui, sprite replacing
Hi, was reading👀
Gotcha, thx for the clarification Igniz
added new sprites by adding to existing dictionaries
Also can i get the links to some kf these mods you says add more complex features?
Cause yes, i truly havent seen them
most are outdated
chinese ones are on their website that add new creatures, but its in uh chinese
shifted towards #🔧modding-talk though so probably best to round this up
kek
not sure what you mean
double checked
its copy pasted the exact same function
🤷♂️
so many temp vars its crazy lol
think we're talking about different pieces
i see what you mean inside createunit
i never used it though, only ever did sprite replacing with icbm, so didnt realize
its all so so bad lmao
I developed it later in its life to add building/units with custom sprites as their own race
replacement was earlier on
a lot of that stuff is in the respective classes instead of the main one
I think but I cant remember exactly
I had to go through the dicts for like walk anims and stuff
similar to my other mod when my giant green iceman
nice
custom buttons n units n stuff, it had some pieces of it based off of aelmar and some I did
and then it eventually got into icbm towards the end, so thats where it came from
haha, i was gonna point out it didnt do swim
but video shows it too
it did the library stuff but was still weird
it got figured out better later i think
Uh hi there
hi bacon
I just joined and what do u have to do in here?
Oh
whens the non-coders-cave
im going to home cave, the coder cave smells
we know
I code badly but in lots of languages!
cool
print("Hello world!")
```i am smart B)
can someone explain inverse kinematic?
Idk
I remember doing some research and it's quite complicated math stuff
I quote Dani "what are inverse kinematics? It's just kinematics, but inverse"
He needed it for his game Karlsson which you can wishlist on steam and download on itch.io just saying
that helped a lot

Ur welocme
SQL 
Ayo....my dragon is green...what should i do?
made a little lab for ragdoll things:
just don't get lazy
i went to one of my old git repos and there is not as much bug as i thought
1 yr 1 mth 28 days old
doesn't socket.io
have
emit() on the IO obj
and an option to broadcast it
thinks
@main brook
i have no idea
weird
it was a year ago
shit happened
years ago
like when php did a commit that allows you to run arbitrary code with a header
ok
it does
i looked at the docs
while copying template code
template code always works wonderfully : )
Looking at you Unity
my code is half template half original code
my code is
100% original
when people starts with
print("Hello, World")
i do
print("Hello, Vadim")

but
101100 110110 110010 010100 001101 010110 101000 010101 001111 110010 101000 001101 101100
binary
is a thing
making our own binary is like
trying to make a universe
in a universe
a
unary
the value of a thing is its length :DDD
omfg
memory management
is so fucking difficult its insane
easily the most difficult thing I have seen in programming to date
I have been studying it for a month and I know nothing still
Its so difficult it has managed to demotivate me a alot which doesnt happen often nowdays
but I aint stopping the grind as all gigachads do
yea ok I have gone insane
99% made by copilot
I just wrote two comments: //draw mandelbrot set and //html page with canvas and added script to page
It knows things
wtf
Idk, github copilot showed that when i wrote comment //make speciesbox
reminds me
hacking in movies are weird
adding more keyboard doesn't mean you hack more
nor adding more monitor
ngl i dont hear a lot of good things abt copilot
yea its quick but its not your code, its usually not the best option speed wise and it is probably not suitable for anything that requires more security than usual
does anyone with kindness tell me that which parts of codes of game decides that the civilian could only build buildings on the land ,not on the sea or the mountains area?
i'm lost into large number of codes in dnspy and can't find out where is it.
this.t = behaviourTaskActor26;
this.add(pAsset);
this.t.addBeh(new BehCityFindBuilding("new_building"));
this.t.addBeh(new BehFindConstructionTile());
this.t.addBeh(new BehGoToTileTarget());
this.t.addBeh(new BehLookAtTarget("building_target"));
this.t.addBeh(new BehAngleAnimation("building_target", 0f, 40f));
this.t.addBeh(new BehBuildTargetProgress());
this.t.addBeh(new BehRandomWait(0.5f, 1f));
this.t.addBeh(new BehChuckTargetBuildProgress());
i guess this part of codes have the part i search for,but i can't distinguish it from them exactly.
I think I am cheating my whole career
Hhtt
uh we're not the devs
but
its internal i think
it just does t.addBeh
which means something is done inside behaviourTaskActor26
0101010000101010101001010101
People putting binary in chat makes me feel ashamed of myself
For not knowing binary :(
Bruh you work at low level all the time and don't know binary
Well the binary I use is much different as it doesnt make any sense
Its basically like writing arguments to the CPU in binary
But im still ashamed 😔
Brooo 0101010101000100101010111101010101010101
Staph write hexadecimal its easier to understand 😭
He wanted to say something but reconsidered
ooh
its oki
they can dm me if they don't feel comfortable telling in a public channel
yeah,i know what you mean,but i still don't make myself clear know how it works.(i do defently not just watch these codes and trying to search what i want between them ,i know it is a summray of action)
now i turn back to learn C#
btw, thks
i don't do C# 💀
okioki
C# has a # at the end of the C
no
No
^
Actually this did make the channel more active
you can't spell C# without C and you can't spell without having the ability to have common sense to learn how to spell
This function is as useless in a low level environment without the standard output as they get 
😱
not having inventory system in a game where inventory is crucial is lazy
like minecraft
Not having a game in an inventory system in a game where it is crucial is lazy
not having a freedom of speech in a society where opinions are worthless is lazy
get L'd
Lazy is lazy
Get L'd x2
lazy is memory efficient
….....….....
get L'd x3
Unless you are too lazy to write a heap
Then its very very memory not...good
Get L'd x4 @main brook
Wow
you speak for machines
Yes
not coders
just unlazy
Even bootloader programmers dont do this
Inside the White House of Americanism
get L'd x5
UNLESS you are too lazy to write dynamic memory management which is the most crucial thing in an OS which is very lazy
Get L'd x69
I’m literally a boomer with computers, I’m sure Alan Turing if he came back to life, he’d be able to work a computer better than me
Get L'd x421 because I said so
you win
Ez no re
it would be cool if
something is called
reing machine
instead of
turing machine
Where is the Spanish room I wanna bully them for all extra words feminine and masculine
It’s a great sacrifice
school be like
having an IT teacher
meanwhile i exist
and im not an IT teacher
and i fix the projector better than them
My IT teacher was a robot istg
My IT teacher throws me outa class every lesson
He’s also my form tutor
did you
Because im too bored to pay attention so I do random shit
ENGLISH
why do you need a teacher
BARF
that pronounce
I once tried to delete the entire hard disk of my pc
what why
smh
But she saw me entering the partitioning thing and was like "oh hell nah"
just make random discord bot
My school is not very good with computers, our headmistress put the gcse papers saved on a public bit shared between everyone in the school
When I was smol I had a coding class and we wrote code in paper 💀
L
Debugging was quite difficult and running it was also pretty difficult
I don't even remember what we coded in I just remember I didn't learn shit from it
101001010101010101000101010
Ok im gonna learn binary smh
Ok wait
Write in hexadecimal
Instead of binary
:)
You can’t speak in binary
It’s not a language
Like 010100101 “hi Bob from down the town”
The binary numeral system is a way to write numbers using only two digits: 0 and 1. These are used in computers as a series of "off" and "on" switches. In binary, each digit's place value is twice as much as that of the next digit to the right (since each digit holds two values).
Love my bff google
It got me a good 8 in my gcses
No shit
Sherlock
And you can speak
Kinda
You can also code in it if you are insane enough even tho writing hexadecimal bytes is way easier
"easier"
technically we all are currently speaking in binary
but the computer uses a translator to translate it for us
Lol, this is base, not cheating
Being a good programmer also means knowing where to look for the information you need
Aka googling
Thats the main knowledge u need to have
All other things are useless

except using a computer
you kinda need that
and a browser
and how to read
and breath
and eat
how to block haydot is very necessary in some cases
lemme give you a tutorial:
- Press my pfp or find me on the members list
- Press on my name again if on pc (on mobile press the three dots and press block)
- Press on the three dots on the top right side of the windows that popped up and press block user
Done!
make sure to lik a subscrib and coment down below somt idk
how to block haydots mom from eating food so she doesnt get fatter than she already is
yes your mom is eating quite unhealthy she should stop that
no my mom isnt your mom
are you sure
maybe ur actually my brother but then we threw you away cuz ur ugly af then some fat woman adopted you
quite the story you should publish it
aight cya
hmmm from where will you get them?
right now america
i dont know if many people will want to attack cool peoples like me :)
sometimes its other places
when they know that you use C and assembly and other bad languages and you make OSes (cringe) they will
samuel is [one of the most] kind and caring boys you’ll ever meet [samuels] are usually sexy and have the best heart but can be a bit [sensitive] at times
Anyway
So I have been thinking
About nothing
I dont know where im going with this
...can someone please enter this chat come on I out myself in a bear trap
With this conversation im having with myself
Sure
Ok
@orchid frigate is giga chad mate
Brother has my back 😔 👍
True
Not a one
Well
As I'm not a coder
Lol
We should return to the mainland
There are a couple of people here but they open discord once a full moon
Yeah
So I usually have to say something very controversial to get the chat going
Like this:
Which wb race you like the most?
Continue
I think C is the best language and everyone should know it
C
It is though
When someone comes on it will be hell or it will be very boring
Matters how Angry that person is
We once had to get xiphos in the chat to stop an argument here
That literally almost got to the point.people had to be banned
Things are real heated sometimes
I could do a swastika in text art
Anyways ai forgot what I was gonna do
Why
Do you have screenshots or?
Person A says C# is best I disagree he disagrees we get angry
I can find it in the chat I think
What about C-flat
People in the 1970s or whenever it was made
And c++ is named that because of a dumb programming joke
And c# is Microsoft also trying to be funny like c++
Oh
Dont get me started another argument will start
The differences are
Nah nah I'm not gonna argue
You wont but others will
But anyway
Basically
Fair point
There are 2 types of programming languages
Low level ?my favourite) and high level
Low level languages are basically languages that are able to more easily talk to the computer because.of which are considered to be more difficult even tho I don't agree
Alright
High levels are made to make coding easier and are used to create more high level stuff like apps and websites
While low levels are used to create systems and engines
Well thats not entirely true but that how everyone accepts it
Low levels are actually only the assembly languages meaning their pretty much only.use is systems while highs are C and higher
But anyway
Les go back to #🌎general
I kind if get it
mhm
pretty sure C and C++ are both low level languages
You can create high level programs with them, although they simply arent optimal to do so.
Really matters what you consider a high and a low level language
You can technically create anything with assembly too with the right tools
But we can both agree assembly is much much different than any other language due to the fact you are writing straight to the cpu registers and pretty much writing the bytes yourself sometimes
You can probably say c and c++ are lower level compared to some of the other languages
I mean C is probably the lowest level language that is still used on a large scale
but yeah, when it was first released it was one of the highest level languages - computers have just become a lot more powerful reducing the need for the optimization that can be done at lower levels
especially since modern compilers can do some optimization at lower levels anyway with loop unrolling and re-ordering some instructions to reduce NOPs
I still to this day
Dont understand the use of NOP
As an instruction
I have seen it in bootloaders and different programs but I cant get a solid answer as to why it exists
Also
Yea I guess its true that C can be considered a low level language
But compared to assembly its very high level
NOPs are just an abstraction of "do nothing" to make it easier on the hardware
it would be a lot more complicated to make a processor stall it's clock for a cycle as opposed to doing nothing for a cycle
Oh wait do you mean as in don’t understand why it’s necessary to do nothing sometimes? @orchid frigate
Because if that’s the case hmu and I’ll give you a whole lecture on comp arch
The thing is I always see it in the most random of places and I can give you example
For instance, I saw the source code of a bootloader and in the start, it had a similar structure:
[bits 16]
[org 0x7c00]
;I think it did something here but it might have also not idk
jmp bootloader_start ;never returns as its a jump instruction
nop ;????????
bootloader_start:
;Code
And also I saw that compilers use it but from what I understood thats for optimisation
Check the value of the array at the index before printing
And what you gotta do if its equal to the thing you want
if(Array[index] == "Hamza") {
Console.WriteLine("C# is superior")
}
NOPs are usually used for latency and dependency issues. In the case of that snippet it's probably because there's a cycle of latency before the jump actually takes effect, so the nop makes sure the processor doesn't execute any instructions that might change its state before the jump finishes
so like if there were an add after the jump and that add got fetched before the jump finished the processor would finish executing that add as well, which would lead to the wrong value being in whatever register the add operated on
Ah well that makes sense
Now that I think about it it actually looks quite useful
Im pretty sure I have had a few times in which I should have used it
Cope
Dope
Nope
pope
Easy
string[] Names = { "Haydot", "Hamza", "CloudRider" };
Random rnd = new Random();
Int index = rnd.Next(Names.Length);
Console.WriteLine(Names[index]);
switch(Names[index]){
case "Haydot":
Console.WriteLine("Hello");
break;
case "Hamza":
Console.WriteLine("Hi");
break;
case "CloudRider":
Console.WriteLine("Bye");
break;
}
No dictionary?
No maidens???
Im still baffled by the fact c# can compare strings without exploding
last time I tried that on C I ended up in a mental breakdown over why its not working
wdym
Oh
hmm
because in c# string are reference type, but wraped as simple object type
so in other languages you think its the same
but it is not
you can compare them in C you just need a special function btw
that would have been useful
3 months ago
also Im pretty happy to say that I think I figuered out memory management
and that I overcomplicated it
the 1 month of reading was worth it 
A considerable lack of female companions???
I mean in most languages I’d imagine strings are handled similarly- just a difference in support for them as a type between languages
I'd imagine so too
But of course, C is C, so it does jack shit for you
Which is both a blessing and a curse
imagine not using C# 10 features
smh my head
this seem really cool nice work
thanks ❤️
Do any of you think you can make this a mod?




