#⌨coders-cave
1 messages · Page 105 of 1
200
yes
sorry we cant help
my fingers are not capable of typing npm -y
this channels is only for compiled languages :)))
no
no
its compiled
how dare u
its compiled to IL
so its compiled
but
its compiled to a virtual machine language
and then its ran on the interpreter
=> its interpreted
while C
is compiled
to normal .o machine language
=> compiled
imo
also so funny story right
yesterday I was coding until 4 am
and today when I woke up I looked at my code
and realised
I designed my structures to... act like global const variables
so now guess who has to rewrite 100 lines of code 
now that I think about it I designed every structure this way
well its time to restart
ok
I have an idea. So I’m sure we all know that when you get farther into a good game of Wold Box your people become more civilized and build better houses, boats, etc. and there is a limit on how far they can become civilized. So what if (this might be a lot of coding, sorry) y’all made it to where they can become modern day people and not just ancient people. That was probably confusing but I hope y’all understood and I will answer any questions y’all have about this idea.
its the wrong chat, but there is no need to be rude about it
#🔧modding-talk is if you're asking for someone to mod the game to add that
#💡game-suggestions if you're wanting to suggest stuff to the developers (fair warning they've specifically stated they have no plans to create any sort of modern system like you've just said, so it'd be wasted effort)
this channel is for programming/coding topics (in general, only excludes worldbox discussion). Worldbox has its own dedicated channel for its programming/modding stuff (the modding-talk channel I just linked)
Oh my bad thank you
Also it says it’s read only
there is a modern mod somewhere I think as well, but uh #🔧modding-talk should be open to anyone, #🔧mods are for modders to post
Oh ok thank you so much
A^2 + B^2 = C^2
wow very smart
that doesnt do anything anymore
suggestions has its own site
circle be like
me, when u are starting to learn coding and being very basic= trying to understand the chat
me also= wait what
This chat
Is complex because
Always half the people are arguing about languages
The other half are trying to fix a simple problem
For 5 fucking days
oh lol
Because a message is sent every 8 hours or so
What language are you learning
my teacher teach me with replit.com
Whats that
idk i think phyton?
#⌨coders-cave cave bingo:
- Hamza and Panda arguing
- People trying to convince you the language they know is the best one in the world and the rest is shit
- People asking for worldbox mods
- Actual coding discussion??? (impossible)
Bruh this is too accurate
lol
By ThE WaY GuYs I OnLy KnoW ThIs LaNguAge sO itS EaSeLy ThE bEsT
God I fucking hate that
Anyway well as always if you have any questions ask them here and you might get an answer @zealous pivot
Or maybe not
Depends if anyone decides to look at this chat
oh ok
lol
I might not be the best help for python stuff as I never learned it but I will still try
If you need a hand with python feel free to ask
Don't expect the best advice as I'm self taught but I'm always happy to help
How could this chat be so welcoming yet so
Garbage
At the same time
That means that probably you are doing projects that either dont interest you as much or
Dont challange you
I suggest if you wanna work on a project for long
You start a project that challanges you
Alot
Like alot alot
Thats how I have been working on the same project for probably an year now
it's usually not recommended to start with ambitious projects, as you may never be able to finish them
you might be experiencing the "shiny object syndrome", defined as:
"Shiny object syndrome is the situation where people focus all attention on something that is new, current or trendy, yet drop this as soon as something new takes its place."
I had to deal with this problem a lot
tl;dr you hype yourself over a new project, do like 1/4 or half, get bored and start something new that looks more interesting
and the cycle repeats
forget it, you'll code it for 30mins and leave it anyways
bro that's you
he knows assembly
So I learn a language, well at least the basic stuff, what projects do you usually do with that? Do you just go on and make a website or something?
everyone starts because they wanna do something
either they wanna make a game, website etc.
you need a reason to start else youll end up wasting your time
makes sense
how about you? what are you workin on or wanna do?
I respect all languages equally
Unlike you
Who cant figure out that each language was made with a certain purpose
everything
im working on anything
atm im playing with machine learning with stylegan2
Press X do doubt
Sorry! our system detected no sign of intelligence in this user, we thought it was a bot, maybe contact our customer service in #🤖bot-commands!
anything
i meant im working on anything
that means im working on nothing at the same time
What
Oh
I just wanna make money. I’ve been struggling my entire life, and I’m trying to support my family, I already have coding experience, so I’m giving myself a jumpstart 
I love coding though, I’ve been doing it for months now and have never gotten tired of it.
Sorry! our system detected no sign of intelligence in this user, we thought it was a bot, maybe contact our customer service in #🤖bot-commands!
reminds me
@orchid frigate
how hard is rust
Yes, the message was calling you stupid
Lol
do you have a college degree tho
if not then you can pretty much make money anyways
Stop
not hard
just annoying
it only allows you to do best practices
that's why its fast and secure
it doesnt compile if you fuck up
In my opinion
Extremely difficult
More difficult than C
And any of the C languages
Everything is difficult from creating a customised building environment to making simple code
But atleast the crate system is good
And the language is pretty good in general
Its also so much different than any other language
Meaning any habits you have from previous languages like keeping global mutable variables are bad
You can keep global mutable variables tho its just not advised and really annoying
Once again I was saved by an indian mans youtube channel
#ASP NET #MVC #CodeWithGopi
How to Display Bootstrap Alert Notification in ASP.NET MVC | Show Success Message after submit data
Step by step tutorial on Asp .net MVC to display bootstrap alert notification on data submission.
For better understanding Please watch the video till the end.
Please subscribe to my channel.
Previous Video link(CRU...
Alright
I have this school assignment
Can someone PLEASE EXPLAIN HOW THIS CODE
i DONT HAVE IMAGE PERMS
Wait let me try something
ok I killed the terminal and it seemed to be fixed
well you can put like a prefix variable on the weapon class itself
lots of different ways to set it up though
really just whichever system you want
prefix in this context just means "demonic" or whatever that goes before the name of your weapon
"demonic" sword
if you store it somewhere like on the weapon, and its trying to calc damage you could read its prefix to calc what it needs to do
this is one way of doing it anyways
so if its a variable attached to the weapon
name = weapon.prefix + " " + weapon.type;
there is another probably preferred way to add a space between the two variables, but i cant remember the exact syntax while typing into discord
$("{weapon.prefix} {weapon.type}") or whatever i cant remember off the top of my head
again lots of different ways, so you can try to solve the problem with your own ways as well (even if they're not the most ideal its about the fun of problem solving)
being organized is useful
saves you time scrolling and trying to remember and understand what your code is doing
also if others try using your code like if you're in a team, its important so that the others can understand what your code is doing as well
I've done best by starting out organized and trying to stick to a format and system that way I dont have loads of messy code to shovel through and make look nice once its starts to become bad and haunting to look at
so for things like nested if stuff, you probably just want to do what is the least messy for organization sake
without spending 18 forevers on it unless you need to, just time management there
i think its better to have like
weapon.enchantment
and the enchantment itself is a class that doesn't actually override the data of the sword
but adds them
and to calculate damage they can
weapon.damage + weapon.enchantment.damage if weapon.enchantment
basically just add the enchantment damage to the weapon
this way you can have more enchantments
and not lose your original weapon stats
unless you wanna make it irreversible
Same principal different words I believe
yes and technique
instead of just checking a string if it has a prefix and parse it
javacringe
ah I guess I didn't write the class stuff (I thought I did), but a class is what I'd do.
just need it accessible and then add it in
all of that comes down to a user's preference in organization and workflow I think
the ways I think for myself would be similar to worldbox in a library
and info associated with a particular item as a class
(this is what worldbox does for its weapons)
but something as simple as a string thats set directly on it would work
java more like handicapped c#
c# is literally just a copycat of c++ made into a high level language with a brand on it too
but noone says that
has way more features than c++ but okay
c# the best
only c#
deal with it
how to change color of the letters in cmd?
nvm it was COLOR 2
Doesn't stop it from being a copycat
At what
At fucking what
Maybe at two things but is it good for graphics APIs? No it's shit and I know because I have tried it
Kernels? NO
Its interpreted
Meaning its hell to set up
And it's shit
Its like forcing a language to be something it isnt
The closest thing we have to a multi purpose language is rust
You deal with it
Once again I have tried it
i think u forgot you talking to a game developer
I don't care a game developer or whatever you made a statement a language is universally the best
I break down why you are wrong
You know what y'all wont stop until I show you just how fucking annoying it is to be reminded which language is the best
So fuck it
Rust is the best language
Deal with it
Calling a single language the best is kind of ridiculous…
someone wanna stream?
nvm, i already finished
here is what i did
new robot for the game i am working on
Honestly I love just about any language that supports both functional and OOP
lmfao alright why dont you try reflection with c++
I don't even know what that is
a class or an enum
if enchantments can have like
different stats
randomly
then go for class
if its static just use enums
i would subclass a mixin
so i can just change their values
like the enchantment name
or blah blah
only high level can understand :))
suppose you a lot of classes that inherits an interface, now on your project's lifetime you create more and more classes that inherits that interface
and on the same time you need to initialize all of them, in C# we can create instances of those classes without having to explicitly put them in an collection, so you wont have to update your collection whenever you create a new class that inherits the interface all you have to do is get those via reflection and initialize them on the go
not only that we can do a lot of other things as well like getting all functions of a class, put them in a collection, run all of them at the same time, or lets say get all functions whos function name starts contains 'a' idk man its just useful af
where i am
Whats an interface in c#
its like abstract, basically a blueprint of a class
but
WHY TF DOES JAVA string.split() REQUIRE REGEX???????????????????
Does world box copyright their sprites
I was gonna develop a kind of fan game based on woorld war 1
Also what engine is WorldBox made on
Ah I remember abstract things in c#
I loved them

Man I gotta start using c# and cpp
I just haven’t had an opportunity to use it yet because my coursework is so focused on Java and C
And C’s just a bitch to learn so I’m constantly having to use it on the side to make sure I know enough to focus more on class concepts with my assignments as opposed to stopping the seg faults
that's basically
just a class
empty one
actually for abstract you may or may not require to override
and throw an exception
when trying to call the method
Assuming they’re essentially the same as Java interfaces, they’re like C header files, but for classes that implement it
Why C has been pretty easy to learn for me because of how little features there are
Compared to something like c# which has every fucking feature in existence C seems quite simple
I was started on Java so it was just a bit of an adjustment
Interface is like a blueprint that you can use in a class
Abstract class is a class that can only be used as a base for another class
its basically deriving classes
hi
what can you do with C
I like the neat things people post here, but im gonna have to like block like most of the people here to see those
Js, ok
real
Кто руский
Thank you for saying this
The language war can end now
js has weak types, C# can have both weak and strong at the same time :)
my doing object something = "a string"; object anInt = 45; xDDD
fighting over programming languages are what coding channels are for lol
i mean, what the hell are we supposed to talk about
we all do
every next month that abysmal crap of a language will get a new framework
This is still strict type
Same string and int, just casted to object
oh..yeah :(
but strict is still better than weak
yes
why just
replit can compile like every language know to man
C is a very old language
So its main intention was probably kernel development
And its kinda build for that too
Like its so much better for kernels than anything I have tried because of how simple it is without its std
But other than that most really low level libraries and stuff are in C
For instance most graphics APIs are in C
Like vulkan and opengl
And also dynamic memory management is in C and pretty much anything low level you could want
Other than the assembly stuff like registers and instructions
For those just write assembly and link it to the C file its easier
No
But to me it seems dumb to call some language better than others. I chance languages to whatever suits my needs at the time most
Atm I'm using, JS with jQuery and bootstrap and just pure js, html, asp.net, discord.js, tSQL and probably more that I can't name off the top of my head
But u should agree that lua is trash
Deal with it
If u agree with me on that one thing, all other things doesnt matter
Yes, and you can use strict typed js, named also as typescript, with all vanilla js features
lets argue about paradigms
anyone wanna stream?
no
i am very early to respond that
no need to thank me
sus
Man stop the JS hate :(
For its uses it is a perfectly respectable language
Even if you have to go through extra steps to have any sort of semblance of typing
imagine making a new language just to add one simple feature
NO
js bad
kring
'1' == 1
Then just add another = silly goose
fuc java
BOTH NEEDS TO BE CALLED FIRST
wtf am i supposed to do now
why am i forced to use this crap of a language aaaaaaaaaaaaaaaaaaa
N o
you're not supposed to do these things in the first place
every normal language has == work properly
meanwhile the people who made js were definitely high on something
You only need to call super(); and then you can proceed writing that class’s constructor however you want
Mfs hating on languages because they dont understand em
Too used to their cake walk English essay of a language
Yes I said that fight me
Well I don't know any uses for it rather than Roblox development and that's just scam
because they are the same thing
you dont need both
lmao
no i have 2 constructors
basically i have a class that extends another class looks like this
public class1 {
int[] arr;
public class1(int[] abc) {
arr = abc;
}
public class1() {
arr = null;
}
}
and class 2 looks like this
public class2 extends class1 {
static int classCount = 0;
public class2(int[] array)
{
super(array); // this calls public class1(int[] abc)
classCount++;
}
public class2()
{
// I WANT TO CALL class2(int[] array) CONSTRUCTOR BUT I cant
super(); // this is calling public class1()
this(null); // this is calling class2(int[] array)
}
}```
i cant call super() and this() at the same time because of shitty java design
but it kinda should
id have no choice but call classCount++; every constructor on class 2
if thats the case
wtf do you mean twice its just constructing one object once
its calling another constructor but the arguments are different
you're calling a constructor inside a constructor
you're only allowed to call a constructor inside a constructor once
for a reason
i dont know how to explain it
but it would be very confusing to call 2 constructors
and has 0 usage
minecraft computer mods lol
it has lol
also has conditional chaining
interfaces
etc
very useful for work
including this horror
// Helper to define structure
type IsDate<True, False> = True extends Date ? True : False
type AttributeExpanded<Original extends any, Key extends string> = {
[k in Key]: AttributeExpandedRoot<Original, Key>;
};
type AttributeExpandedRoot<Original extends any, Key extends string> = {
// Do an extra IsDate check as Dates are technically objects so must be exceptionally verified
[k in keyof Original]: Original[k] extends object ? IsDate<Original[k], AttributeExpanded<Original[k], Key>> : Original[k];
};
just for this
export function expandWithKey<T extends string, F extends Object>(key: T, values: F): AttributeExpandedRoot<F, T> {
const expanded = {} as AttributeExpandedRoot<F, T>;
Object.keys(values).map(valueKey => {
// Thanks typescript
const checkedKey = valueKey as keyof F; // keyof typeof values;
// @ts-ignore
expanded[valueKey] =
(values[checkedKey] as any).constructor.name === 'Object' ? { [key]: expandWithKey(key, values[checkedKey]) } : values[checkedKey];
});
return expanded;
}
use it for prisma
export interface IArgument {
type: keyof IArgumentTypes;
description: string;
optional?: boolean;
choices?: {label?: string, value: string}[]
}
export interface IArgumentData {
[name: string]: IArgument
}
export type IArgumentTypes = {
BOOLEAN: boolean,
CHANNEL: GuildChannel,
NUMBER: number,
ROLE: Role,
STRING: string,
USER: User
}
type GetterType<K extends keyof IArgumentTypes> = (name: string, required?: boolean) => IArgumentTypes[K]
export type IArguments<T extends IArgumentData> = {
[K in keyof T]?: IArgumentTypes[T[K]["type"]];
};
//....
type CommandCallable<T extends IArgumentData> = (client: CustomClient, interaction: InteractionLike, args: IArguments<T>) => any;
export class Command<T extends IArgumentData> {
raw: CommandCallable<T>;
// ....
for discord
typed slash command args
ts is very powerful lol
same, and i use it almost always at work
i push for python tho
hello, im very new to c# and i wanted to know in general: what is a null object and what makes an object "not null"? would be very nice if someone could explain
anyooooone wanna stream
ok so:
in case of int, or float when it is not set it is 0
when a value is GameObject(i am talking in case of unity rn) or more abstract then just number, it is null by default
basically null is like a empty object, idk but you could do more research on google but null is like a object that is 0 with no other code for the object
but i might be wrong
ah thank you
js "desktop apps" be like: imagine packaging an entire webbrowser to run "desktop app"
hah, we do that for advertisers running kiosk machines
havent tried rust, maybe when its more mature
our platform runs on electron
it's now part of the linux kernel so
it's pretty established
what like rn?
yes
rust is in a very good state
ive only done physics simulations on it personally
and adapters for rust packages for use in python
you got sources for that no fukin way rust is in linux kernel
alr after some googling i cant find any sources like theres no way
actually maybe not atm, but it is going to happen 100%
Rust is now an official language for Linux development.🎉
C and C++ have lead to lots of memory safety issues over the years. Rust can prevent these. A lot of new Linux code will be in Rust.
You can learn Rust for free, interactively in your browser: https://t.co/qGofxZNvK4
1437
293
In C NULL is a null byte meaning its equivalent to 0
Idk if its the same as in the other languages
I mean high level
Languages
anyonne wanna streaaaaaam
@orchid frigate
you are legally obligated to watch my stream
@next lotus rust is kino
its super weird to write
but as someone said (dont remember who, was it hamza?) it basically forces you to write good code with near c++ levels of performance
its nowhere near c++ or c# levels of Having A Lot of Libraries (or crates in rusts case) though
Wdym
It has a crate for anything!
Literally
There are so many crates for os development alone
Then we have graphics APIs
There are like so many wrappers
I nead hellp to.
one example is:
you'll have a much easier time making a game in cpp / cs compared to Rust
...
@knotty root we need you to tell us what you need help with to help you :)
Maybe with cs
But cpp
Make that u can get customised flingsalt in the game like on the computer
unreal engine tho
Other than ue there isn't much that isnt just graphics APIs
source engine if you're into that
Rust engines are better than the cpp ones imo
godot too
idk
i tried bevy
it wasnt fun
I forgot that existed
a lot of people forget godot exists

I aint a spamer
good
Somehow
I remember unity being compatible with a alot of languages
A game written in pure rust on Unity would be the most cursed thing to ever exist
Xd
Hi
unity was compatible with js but they removed it
cuz js sux
rust is not that hard once you get the hang of it
it has garbage collection so no need to manage memory
it just very strict so you need to get used to what works and what doesnt
Rust Garbage Collection ????????
billgates room
Yee
Hello
where is the executable for for worldbox
In the directory for worldbox
Seriously like be more specific why do you want it on what os are you platform
How did you get it
guys
please i need a new email
cuz i changed my steam account or it got hacked
but my new acc have the same emai;
but i need a new email to i can get the game again
cuz i own it already
yeah why
like
we aren't customer service for steam
why does majority of people assume coding is literally every technical help
like okay bro we'll fix it with a binary search tree
"oh you a coder? That must mean you are able to do anything I tell you to even if you have 0 experience in it what so ever but I don't know that because im too ignorant to realise that coders are only good at typing colorful words on a black screen and dont know how every single piece of technology works"
nah we good at copy paste
tbf a surprsiingly little amount of my work is copy paste
a large part is from uh
tabnine ai autocomplete
tbf borrow/ownership is a blessing and a curse
Its really weird the first time you use it
Trait editor doesn't work for people that dont read the fucking channel description
Dang
I'm new here where is the channel description
Just go to #🤖bot-commands
The admins
Need to bring
The bot commands channel up
Thats how we will stop rebrs from coming here
How do I use the commands
Idk I have never used em
@wet girder would it be possible to bring the bot commands channel above the coders cave
no because we would have to move the entire bot section above the community one
Then
New people wouldn't be able to join
Without applying
Which as pleasurable as it sounds
Wouldnt be good
you must answer these code questions to access this channel
how to print hello world in the following 10000 programming languages
#1: x16 NASM assembly
give them a base64 string to decode lmao
i do think there should be some way to make people aware of the fact that this is for programming and not worldbox stuff
i just have no idea how to do it
@hoary hound my opinion lol
hey I've used lua for years, if anyone can say it's "bad" that's me
it's really just a scripting langauge
saying "my opinion" is the equivilent of "its just a prank bro"
atleast in this chat
any opinion is dangerous
af
can cause world war 3
And people in my basement are just sightseeing

hi
hail C#
hail C#
How do I get ncms on mobile Android no premium
you my mother but i dont like rust
Why
Rust is so cool
It takes everything good from low and high level into one language
This sucks
what exactly?
I hate it when I need to do math to make my code work. I spent 2 hours making this using Pillow.

2 freaking hours for 32 lines of code.
that's how it works sometimes
rookie numbers
2 months
100 lines of code
and now im working on about 200 lines of code
for 6 months
because
documentation on paging is about as good as reading the entire x86-64 processors documentation
hi
whats the shortcut to disable the monitor?
if there is any
like so pc could work
but monitor wont
send reaction to be my worldbox battle royale
Hyh?
PIL is alright
could be better
altho i do like it
not as painful as its equivalent in js (JIMP)
pasting things was a bit confusing
i remember trying to make a progress bar thingy
and it just wouldnt work
img.rectangle((0, 0, XP, toGet // 20), fill=(88, 101, 242))
Google 
eventually i came to something like this but first i tried to paste bits of a progress bar into a picture and it was hell
it was stupid
dont ask why i did it that way
Also, I've tried to center the text but failed, so I've made the text very smol to avoid it getting out of the image. It turns out to look even worse.
kek
Doing UI memes in Pillow is kinda masochism
But its also pretty much the only way you'd get anything like a ui with python bots
Ok so @hoary hound requested to make a joke about c# here
So here it goes
C# is the best language because it can do low level stuff
LMAOOOOO
@barren shale
Its funny because its not true and if you think its true you have probably been coding for a month or code for money
if you dont think its true youve never done research
you can do low level with python if you want
doesnt mean you cant
you can have pointers in python with some libraries
How do you compile it
you dont compile python
To a cross-compiled x86-64 ELF executable
you said low level
Well how tf do you link it then
you never said cross-compiled x86-64 executable
You forgot an ELF
Pretty important
For linking
And stuff
nobody cares
mhm
ofc it did
Yea
This is the most civil discussion we have had
In 6 months
Ok well like
Now that we arent fighting
This has gotten kinda awkward
Uhhh
@barren shale so any projects you have been working on
other than your mother there's nothing currently as my laptop isnt functional
good news is my new laptop is coming soon
awfully good
No
I havent been this bored since that time I had coffee with someone I have nothing in common with
i dont like coffee
Coffee dont like you either
you are mother
Uhmmmm

I respect your opinion but i do not agree with it
Am I doing good
Damn it didnt work
why do you think rust is better than C#?
Well
Many reasons
Its compiled
It has a wide range of options for building
Meaning its good for when you want to get a certain executable
Its both a low level (kernels in it are good I have tried 10/10(good core library)) language and a good high level language
Its able to do anything
Yea
That's it
Also
It has libraries or crates for kernels
Which is insanely good
good points
Let me hear your point of view
but C# is compiled too (Just-in-Time compiled) and it has a lot of features that i think makes it better than rust like ASP.Net, A lot of libraries for everything (Huge community), I think it's easier to structure and easier to make your code expandable in C# and most importantly it doesn't has the strictness of rust which could lead to bad code but sometimes it doesnt matter you just want your code to run (quick and dirty), but when you want your code to run fast you can use best practices to make it very fast and memory efficient
Good points
However I have to say
These civil discussions
Are so boring its insane
Im now realising why coders fight
We need to fight more often
@barren shale do you agree
what is "fight" and why is it necessary?
this is your mother
wtf hamza and haydot actually having a discussion?
based!!
Wdym you guys filled the chat for the last 20 minutes
its not an argument
its a civil discussion
those are boring
we need more passion
more warshipping
it is called worshipping sir
warshipping is when you worship and start a war because of it
shipping is when you ship something (laptop for example) to someone
shipping hamza and panda 
in software generally the stricter the better
and rust is without a doubt quicker and more memory efficient than c#
much harder too though
js? we prefer ts
python? we've advocated typing in python - some python runtimes require it
aye but difficulty comes with benefits
i will credit c# for its unity compatibility, but nonetheless
if i want efficiency, ill pick rust
if i want big data or neural nets, ill pick python (which is mainly just botched c libraries linked into python)
if i want games, ill pick c#
if i want web, ill pick ts
each has its benefits
too much efficiency most of the time is not needed
rust is modern but low level, that's why it's attractive
or else every production API would be in C
i would disagree
when writing a bit of server software handling over 100 000 messages a day, i picked rust
python would be horribly too slow
nodejs too
sorry, ill explain better
100 000 messages aday that need to be redistrubted more than 120 times each
then the result stored to a database
depending on how you do it
rust was by far quicker
nodejs might be able to handle that
python was on one end handling the reception
rust was receiving from rabbitmq (queuing software) and redistributing
nodejs should be able to handle 1000 requests per second
aye but it doesnt mean its good at it
it's also memory heavy
rust can do the job with minimal memory
node's memory just idle is high compared to rust
rust is also very good for stuff like k-trees
well asp.net is pretty good for the memory and someone managed to get 1 million requests per second on that
but that's unrealistic because not everyone has a 10000$ cpu

yeah, but you can also get 1 million request per second using python with async, however it's not a good choice tho
i dont think you can get 1 million requests with python
like full requests
with responses
most used languages for apis are php, js, python, C#, java
ik, i work in the industry
php rarely nowawadays. not for building new stuff, only for maintaining old stuff
java is becoming a bit rarer too but still ever present
i mean yeah, cuz rust isnt meant for apis really
As someone that has pretty much only done
os stuff
rust is good
its like im writing high level
when in reality im writing literally almost as low level as it goes
not including legacy BIOS bootloaders
its also got a crate for literally anything
including os stuff
which is super rare
even C doesnt have any popular os libraries
only thing is
its inline assembly syntax
is literally worse than C's inline assembly
and thats already way too complicated for what it does
ill never pick a scripting language for web development in production ever
id rather pick a compiled, type-safe, use less ram, better on performance and doesnt change too fast
thats C# :)
yeah but where did that async came from? c# did it first and still does it better
python still has its half assed implementation of async like c'mon you have it on requests why dont you have async on file operations too lmao
coming soon on python (java too): an actual working built in reflection library :))))
also rust take notes too :)))))
system stuff
It gives me error message
Nah... to much work
"compiled" Im very fucking sorry what
C# is the furthest from compiled
I feel like there is a joke im not getting because all of those things are not c#
If I had to guess
More random dll files maybe some objects
And more resources for the kernel
Ik
The actual kernel isnt a file tho
Ik
The bootloader is
Too hard tho
Hmm
You can actually see where the bootloader is
I'm pretty sure
But it may only be possible from linux
Its a file that should be named BOOTX64.EFI
or something similar
Who cares who did it first, im just stating what's capable of what
I mean python has a half assed implementation on threading too
Thats a fair choice but theyre very powerful for that sort of thing - typescript also introduces the type safety
Actually now that J think about it the kernel should be visible too
But its definitely pretty hidden
you havent tried c# your entire life lol
it gets compiled to IL
theres the word compiled
so its compiled :)
do you remember the second man who went to the moon?
id rather just c#
really
lol
I started with it
Did it for an year
Half a year with unity
Half with libraries
I tried to make a kernel out of it
I have tried it alot
Doesn't count
I count compiled for being made into an object file and ran directly on the machines
Yes, aldrin. Your point doesnt make any sense though.
C existed before c#, it did mathematics, file editing and much more long before c#. Does that mean you should use C for file manipulation?
Then that's on you lmao. Im just saying scripting languages have their benefits
And in my industry of work, we use typescript and python heavily
Flask.
What app you use to code in mobile?
what industry is that, i remember enterprise would use the lowest level language for everything
Low level is the good level
If Python, I use Pydroid 3.
well it's like
compiled to interpreter code
so
technically yes
they do need to be easy execution
so
instead of parsing each line
everytime
BULK THAT SHIT
and done
dont code on mobile
there are laptops that are cheaper than phones
if you wanna take programming seriously just buy a cheap laptop/used desktop
my university has computers from 2013 they probably cost around 100-150$ and they are doing more than good enough
if you must code on mobile get a bluetooth keyboard
helps a lot
Website developement and infrastructurr
We use nodejs express backend and react front ed
Altho we're moving to remix.run
For heavy data manipulation we use python
nope
enterprise would use a popular and reliable option
enterprise: game dev would use C++, frontend is mostly react and angular and flutter, backend: nodejs, asp.net, spring, django (sometimes)
they mostly choose based on popularity sometimes speed if needed
maybe vuejs too for frontend
tbh there's too many frontend frameworks that are good
all of them are javascript for now until WASM takes off
ppl use django and it blows my mind
its not too bad
yeah im just surprised that its as popular as it is
because people like to do everything in python
ive got a pdf on web dev with c# but it seems that i will never escape the {thing}script trap
Ok ok I know this is off topic but I need some quick answers
Which monster do you like best
Your mother
wasm is used to compile languages like C# into web apps
Oh
So you dont write assembly
Damn everything web is so boring not even assembly smh
Anyways im going to go read the exact same documentation for the 20th time to try to translate it to rust
Cya later detonator
you can use rust to make a web app though
Boring
Not even assembly
Also
Im not sure what an web app is
its different because its on a website
Im stuck in the 1950s I don't understand the web
a blog is a website
a blog is not a web app
facebook.com is a website
and a web app
it is interactive
it has code that runs after you go in the website
a blog just loads