Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Root797617y@Condor Let's go with "instructor" -- instruction has nothing to do with actual learning.
-
I wish Javascript was actually only used in web. It is a pain to work with it on mobile (React Native!!) A lot of things to take care of because of the slow ass performance. But the only upside for it is writing code once and running on both Android and iOS!!
-
@musician not everything, I used JavaScript inside views, flex for styles and all UI elements are in Js files.
They have a bridge between native and JavaScript, I can call native components from js but I doubt everything is compiled to native tbh -
@musician the js code you write runs on js core. So say you have a button. You define an onclick in js, the button is created through native code, but when it is clicked, your actual js code runs.
All the creation and communication is done through the js-native bridge which only supports json strings. So you could imagine the performance issues you'd face on lower end devices as soon as your application becomes more complex.
But on the plus side, you write code once for both platforms, if you architecture it correctly, you could even use quite a bit of the business logic on web as well. -
Javascript is actually really fast thanks to Googles V8-Engine. Its also extremely flexible because you can alter objects and classes on the fly and even save functions in variables.
-
@gitpush probably an unpopular opinion but I enjoy react native very much. Sure the performance isn't as good as native apps, but it's not slow by any means. (Remember performance mode is off when in DEV mode)
-
@MrCreeper1008 It sure is faster when dev mode is off, but still isn't good for real world apps, it is good enough for a single task app, like Instagram (though I find it bugy sometimes) or a simple email app. But not for an app that needs to talk with hardware, or process good amount of data
-
@dennis-dem javascript is not really fast in comparison to compiled languages. but yeah, v8 is a big improvement over other engines.
-
@linuxxx it's possible, but not really practical. for a 2048 bit public key, you can only encrypt 245 bytes with standard padding, so it wouldnt leave room for much else. moreover, the teacher said that they are, not that they could.
Related Rants
so i guess ill use my code.org teacher for this:
"credit card information is encrypted with the public keys"
"lists and arrays are the same thing"
"javascript is a powerful, fast, programming language" (bhahahaha)
"javascript is [only] used in web browsers"
"java and javascript are *extremely similar* but not the same"
rant
wk99
dumb
how'd you get thru college