u/vastrightwing - 20 Archived Voat Posts in v/programming
u/vastrightwing
  • home
  • search

u/vastrightwing

3 posts · 17 comments · 20 total

Active in: v/programming (20)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: A very flawed speed comparison of Node, PHP, C, Go Python and Ruby.

I'm impressed. Java surprises me. Considering it's a byte code interpreter, it gets a very respectable benchmark. I had no idea Node was so optimized.

Thanks!

0 09 Nov 2019 16:10 u/vastrightwing in v/programming
Comment on: A very flawed speed comparison of Node, PHP, C, Go Python and Ruby.

Interesting. I was surprised by the sheer number of "frameworks" out there. It seems there's a new one every week.

0 08 Nov 2019 09:46 u/vastrightwing in v/programming
Comment on: A very flawed speed comparison of Node, PHP, C, Go Python and Ruby.

Yes, your results are much more in line with what I was expecting. However, simple loop constructs aren't very useful as a benchmark for performance. It would be much more useful to at least do a bubble sort or insertion sort.

0 08 Nov 2019 02:05 u/vastrightwing in v/programming
Comment on: A very flawed speed comparison of Node, PHP, C, Go Python and Ruby.

I was looking to see how ruby did as far as performance goes and found this webpage. I was very sad looking at the code this guy used. He lacked any understanding of variable precision in any language. He also lacked knowledge of optimizers. Notably, the C output gave him erroneous results due to overflow conditions. He should have used long and not int.

However, I was surprised that C didn't optimize the loop completely out the same way Go did. It's clear that Go won simply because it didn't loop at all. Like I mentioned, C should have had nearly the same result Go did if the compiler worked the way it should have.

0 07 Nov 2019 21:29 u/vastrightwing in v/programming
A very flawed speed comparison of Node, PHP, C, Go Python and Ruby.
2 0 comments 07 Nov 2019 21:20 u/vastrightwing (..) in v/programming
Comment on: Google Says Spectre And Meltdown Are Too Difficult To Fix [With Software]

AMD uses similar optimization techniques as all other semiconductor manufacturers use. The conspiracy theorist in me can believe the alphabet agencies may have designed this flaw or all silicon engineers use similar designs in the architecture of the processors. Either way, most processors have this embedded in the design.

I suspect some engineer may redesign the chips or a completely different technology will make the current design obsolete. I'm guessing the latter. It may be optical chip tech or quantum tech. Either way, new and more exciting flaws will be discovered.

0 25 Feb 2019 15:51 u/vastrightwing in v/programming
Comment on: Google Says Spectre And Meltdown Are Too Difficult To Fix [With Software]

They've been putting hidden servers and flaws in silicone for years already. I believe the flaw is real and the alphabet agencies love the flaw because it also allows them easy access to our data. If the chip companies fix this flaw, they will be asked to engineer a new exploit.

0 23 Feb 2019 12:24 u/vastrightwing in v/programming
Comment on: Google Says Spectre And Meltdown Are Too Difficult To Fix [With Software]

Of course there are engineers at Intel, AMD, Broadcom, IBM, et al who knew this for years and I'm sure they let management know. And as usual, the fix is expensive and unacceptable so nothing was done to mitigate it. Even now, I imagine discussions going on about it and security will simply take a backseat to making the processor faster.

0 23 Feb 2019 03:11 u/vastrightwing in v/programming
Comment on: TempleOS with its holyC programming language has the potential to replace the behemoth OS's we use today.

Brilliant!

Windows is an albatross. I hate the complex maze of security. You can't strip windows down because everything depends on everything else. Telemetry. WTF? Correct, Unix/Linux is only slightly better.

1 01 Sep 2018 10:55 u/vastrightwing in v/programming
Comment on: Work as a C++ programmer

You manage the boss. Never get into the trap of estimating tasks in terms of time. Say instead I think it's a 21 point task. I think in terms of agile. He'll think you know something. Make simple deliverables. Fake it until you make it.

0 29 Aug 2018 00:32 u/vastrightwing in v/programming
Comment on: Assembly Language 03: Intro to 6502 Instructions

The original apple cpu.

0 29 Aug 2018 00:27 u/vastrightwing in v/programming
Comment on: Forcing women into programming is a fucking mistake

Bada boom!

0 18 May 2018 01:32 u/vastrightwing in v/programming
Comment on: An idea for a techie who has way too much time on their hands...

I was thinking about a database that linked people using big data to their corporate

0 16 May 2018 02:24 u/vastrightwing in v/programming
Comment on: Linus Torvalds - "That is either genius, or a seriously diseased mind."

C++ : Where friends have access to your private members.

0 30 Mar 2018 02:23 u/vastrightwing in v/programming
Comment on: Please explain the discrepancy of my physical resolution and what javascript tells me.

I was wondering about that myself.

0 22 May 2017 00:24 u/vastrightwing in v/programming
Comment on: Please explain the discrepancy of my physical resolution and what javascript tells me.

Interesting. So browser developers decided it is better to scale images to some arbitrary reference size rather than keep the native resolution. And then it never occurred to them to allow anyone to view the image without the scaling. I can't find a way to unscale the image. It's a shame because some devices have really nice high resolution displays.

1 21 May 2017 10:53 u/vastrightwing in v/programming
Please explain the discrepancy of my physical resolution and what javascript tells me.
1 0 comments 21 May 2017 00:59 u/vastrightwing (self.programming) in v/programming
Comment on: Found a good mechanical keyboard, here's what I bought..

Yea. But you can't find them anymore. Sad.

0 10 Apr 2017 10:26 u/vastrightwing in v/programming
Comment on: Found a good mechanical keyboard, here's what I bought..

Kind of. I mostly use a very thin laptop. The keyboard is the worst typing experience you can imagine. The keys have a very shallow throw and I tend to mis-type constantly. I finally decided to get a real keyboard. At that point, I had opened Pandora's box. There are tons of keyboards, and they all are better than my laptop's poor keyboard. The question then becomes, do I buy a $15 keyboard or a $100+ keyboard? A friend showed me his Das Keyboard. I was hooked. I really loved the feel of the mechanical keys.

1 08 Apr 2017 15:23 u/vastrightwing in v/programming
Found a good mechanical keyboard, here's what I bought..
4 6 comments 08 Apr 2017 14:42 u/vastrightwing (self.programming) in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.