z80

Discord ID: 117714549766881286


662 total messages. Viewing 100 per page.
Prev | Page 4/7 | Next

2018-09-20 15:13:28 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

there are two remaining things to ask.
Which software do we use when it all turns to shit and...
How can we fight back?

2018-09-20 15:14:56 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

(seriously, they took python, Linux, redis and just about everything else in one big swoop. maybe it's time we just thought "Hmm, they're all a bunch of fucking communists introduced by decades-old soviet cultural subversion. Maybe we really should execute all the fucking maggots!")

2018-09-20 15:16:09 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

after all, how else are you going to fight when the kernel updates start preventing you from switching OS and forcing you to use politically correct language for everything you type or even say?

2018-09-20 15:17:15 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

i sincerely hope Linus comes back and pulls a Terry Davis/Brendan Eich crossover

2018-09-20 15:22:32 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

also known as "haha we're all going to die mass panic mode fun lmao"

2018-09-20 19:03:03 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

opera browser notes: yes

2018-09-20 19:03:50 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

brave browser notes: why the fuck is it based on electron

2018-09-20 19:04:22 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

(brendan eich is great and all but you're just a massive sponge if you make a browser to rival chromium.. based on chromium)

2018-09-20 19:05:02 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

i'm being serious though, they just gave electron a URL bar and tab support

2018-09-20 19:05:49 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

and the homepage has some absolute bullshit statistics

2018-09-20 19:06:19 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

every browser claims to be faster than others with some shitty bogus graph to say how it loads one specific page 8.2x faster

2018-09-20 19:06:56 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

in reality, microsoft edge and firefox are just about the only browsers that could even remotely attempt to outperform chrome, and they **haven't**.

2018-09-20 19:07:02 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

the only good thing about edge is how little RAM it uses

2018-09-20 19:07:15 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

as for loading times, it's the same as any other browser

2018-09-20 19:07:30 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

because they're literally all the same fucking thing

2018-09-20 19:08:29 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

genuinely convinced that browser development is just a joke at this point- you literally cannot create anything faster than chrome because every browser has to follow a strict set of standards that are **garbage**

2018-09-20 19:26:07 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

my disappointment is immeasurable and my day is ruined.

2018-09-20 19:27:12 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

eugh

2018-09-20 19:27:54 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

not even bignum, and that spans across all your memory

2018-09-20 19:29:01 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

bignum is an artificial integer type that lets you store an integer of any size until you run out of memory (or even swap)

2018-09-20 19:29:12 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

it's the default integer type of the CPython interpreter too

2018-09-20 19:29:24 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

which is why python arithmetic is megadeathly slow

2018-09-20 19:30:10 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

the removal of bignum as a default integer type is one of the things on my list of things that needs to be done to fix python

2018-09-20 19:30:51 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

^ that's why

2018-09-20 19:31:40 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

python is actually a very interesting candidate for the replacement of javascript

2018-09-20 19:31:57 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

and one way to speed up python enough to be a decent replacement is to make it fully statically typed

2018-09-20 19:32:10 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

besides

2018-09-20 19:32:23 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

i'm pretty sure kids who work with python are capable of understanding data types

2018-09-20 19:32:49 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

and if not, you shouldn't be teaching them it anyway, they clearly don't care

2018-09-20 19:35:07 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

very often you'll find that python uses the worst possible type to store data. take an array of, hmm, let's say 4096 integers for example

2018-09-20 19:35:27 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

now, all of your integers could only be as big as, say, 96

2018-09-20 19:36:17 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

but then let's say you want to add 1024 to every integer in the list

2018-09-20 19:36:33 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

for every single integer, the interpreter has to make a bunch of requests to allocate more memory for them

2018-09-20 19:36:57 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

as well as that, bignum arithmetic doesn't correspond to standard arithmetic you do in assembly

2018-09-20 19:37:31 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

so arithmetic operations in python don't translate directly to small amounts of x86 instructions

2018-09-20 19:37:38 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

instead, there's a whole list of them applied to every integer

2018-09-20 19:38:46 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

and depending on what you do with your bignums, the required instructions to perform simple operations can be very extensive, even including loops and conditions

2018-09-20 19:41:16 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

on the contrary, there's plenty

2018-09-20 19:41:59 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

the raspberry pi is an educational platform, kids aren't going to be writing programs that iterate through millions of database records and whatnot. sure, their simple python programs will take up loads of memory, but they aren't going to care if all they're doing is printing hello world.

2018-09-20 19:43:41 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

i tend to use python a lot a reference implementation of my projects so that it can be translated to other languages, in my experiences the CPU usage isn't that bad, but I can say that Cython helps a lot

2018-09-20 19:43:48 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

Cython is static typing for python, basically

2018-09-20 19:44:26 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

it makes it particularly easy to translate python to C++, too

2018-09-20 19:45:27 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

most of the time you won't even have to, because cython compiles statically-typed python scripts into ***C extensions***

2018-09-20 19:45:32 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

(not executables)

2018-09-20 19:45:46 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

the problem with that is that it isn't very shippable, but it is fast

2018-09-20 19:46:54 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

oh also

2018-09-20 19:47:13 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

big important thing about python: you can't store anything in the CPU registers

2018-09-20 19:47:39 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

C++ (kind of) lets you work with registers

2018-09-20 19:48:22 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

but basically, the registers are faster to work with than RAM, so if you happen to be using a particular primitive variable a lot, it might be an idea to store it in the CPU registers (only if it's primitive though, like an integer)

2018-09-20 19:50:27 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

i guess it's also marginally faster if you store pointers to composite or otherwise non-primitive objects in registers too, but there's a limited amount of registers so you won't be able to cram an entire object in there (well maybe, depending on what it is)

2018-09-20 19:51:24 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

working with registers on x86_64 is a lot easier though, because x86_64 adds way more general purpose registers to x86

2018-09-20 19:51:54 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

probably why templeos was exclusively x86_64

2018-09-20 19:53:48 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

it's sad that they're almost never used in modern programs though

2018-09-20 19:54:32 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

because the common CPU doesn't have enough registers to store an image of a gay pride march, probably

2018-09-20 19:54:54 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

not necessarily

2018-09-20 19:55:08 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

with such a limited supply it's hard to allocate them to any specific process

2018-09-20 19:55:20 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

as such, your OS probably won't bother unless it's required

2018-09-20 19:56:46 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

yep

2018-09-20 19:56:49 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

which is a hassle

2018-09-20 19:57:03 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

because where do you put that information without giving up the point of registers in the first place

2018-09-20 19:57:16 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

kind of a bad design, really

2018-09-20 19:59:13 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

same

2018-09-20 19:59:20 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

there's really no way to escape it though

2018-09-20 19:59:49 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

they're going to keep strangling us, tightening their grip every day, every waking moment, and essentially there's nothing you can do to stop it

2018-09-20 20:00:00 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

..fun, right?

2018-09-20 20:02:10 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

a lot of people are very confident that it's the case, but so far they've been proven wrong every single time

2018-09-20 20:02:24 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

a long time

2018-09-20 20:02:29 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

it depends on what you do

2018-09-20 20:02:39 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

and more importantly

2018-09-20 20:02:45 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

it depends on whether or not there's an alternative

2018-09-20 20:03:05 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

besides, I don't think they're doing it for that purpose, they want more than money, they want control

2018-09-20 20:03:34 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

computers are probably the most important thing of this century, and if they control the software, they can control a whole lot more

2018-09-20 20:04:27 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

eeexactly

2018-09-20 20:04:52 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

you can find an alternative for almost anything, but is it a **good** alternative?

2018-09-20 20:05:19 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

and if it is a good alternative, it's most likely been slandered by the media so much already that nobody wants to buy from it anyway

2018-09-20 20:11:01 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

a lot of videos already have come out

2018-09-20 20:23:31 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

yep

2018-09-20 20:23:33 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

it's such a damn shame

2018-09-20 20:24:16 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

and to have him take orders from some mentally unstable tranny that already got fired from github like that is just insane

2018-09-20 20:24:19 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

just totally insane

2018-09-20 20:30:17 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

yeah

2018-09-20 20:33:26 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

actually

2018-09-20 20:33:27 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

i take that back

2018-09-20 20:33:36 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

cobra looks pretty cool

2018-09-20 20:33:52 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

it's influenced by gay languages but it implemented all the fixes I wanted sooo

2018-09-20 20:33:55 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

well, not all of them

2018-09-20 20:33:57 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

but most of the big ones

2018-09-20 20:35:01 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

i don't particularly like the syntax

2018-09-20 20:35:22 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

yes, that's awesome

2018-09-20 20:36:30 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

```Right now, if you want software contracts in your language, how can you get them? The answer is to use Eiffel or D. What if you want static and dynamic binding? Use Objective-C or Boo. What if you want expressiveness and quick coding? Use Python, Ruby or Smalltalk. What if you want runtime performance? Use C#, Java, C++, etc. What if you want first class language support for unit tests? Use D.

But what if you want all of those? ... You can't get them! And that's frustrating because none of those productivity-boosting features are incompatible with each other. You shouldn't have to choose between C++'s speed, Python's expressiveness and Eiffel's contracts. There's no theoretical reason that you can't have it all. There's "just" a lot of work required to make it happen.

One way to characterize Cobra is with these high level points:

Quick, expressive coding
Fast execution
Static and dynamic binding
Language level support for quality```

2018-09-20 20:36:45 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

```Quick, expressive coding
Fast execution
Static and dynamic binding
Language level support for quality```

2018-09-20 20:36:47 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

SOLD

2018-09-20 20:37:07 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

DUDE IT'S FUCKING COMPILED

2018-09-20 20:37:25 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

```
Built-in tools include:

Compiler
Unit test runner
Document generator
Syntax highlighter
Shared/static data lister
Exception reporter```

2018-09-20 20:37:46 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

looks like pinoche++ will be a fork of this lmao

2018-09-20 20:37:51 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

that'll save a lot of time

2018-09-20 20:42:05 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

though pinoche++ will add a lot of features to it, mainly lower level ones. i don't want to make a simplistic language, I want to make a language that lets you work with any level of language abstraction you want at any time.

2018-09-20 20:47:54 UTC [/r/SargonOfAkkad (Sparta) #comp-sci]  

https://cdn.discordapp.com/attachments/423219052849397773/492436767073370112/terry-gif.gif

662 total messages. Viewing 100 per page.
Prev | Page 4/7 | Next