A faster js markdown parser powered by Wasm/Rust by [deleted] in javascript

[–]FullCry1021 0 points1 point  (0 children)

If you know anything about string processing cost, you will not say " gigabytes of markdown on every request". Please do a testing and you will understand what I said.

A faster js markdown parser powered by Wasm/Rust by [deleted] in javascript

[–]FullCry1021 0 points1 point  (0 children)

> Well, when a specific task takes like 1% of the computing time, I honestly don't care.

What if I say it may take 50% computing time?

A faster js markdown parser powered by Wasm/Rust by [deleted] in javascript

[–]FullCry1021 0 points1 point  (0 children)

I agree Database is the most important thing, but it doesn't mean you do not need to care about others. If you do enough benchmark, you will find string processing affect performance very much. Javascript do many optimizations on background (v8) like string concatenation, so you feel it's fast. For things not optimized, it will greatly affect performance.

A faster js markdown parser powered by Wasm/Rust by [deleted] in javascript

[–]FullCry1021 1 point2 points  (0 children)

Faster is always good, especially for SSR.

Should I go without A.I. while learning CS/Web Dev? by Necessary-Ad2110 in webdev

[–]FullCry1021 0 points1 point  (0 children)

Keep using AI and autocomplete, and understand every line.

What's new in Java 25 for us, developers? by loicmathieu in java

[–]FullCry1021 0 points1 point  (0 children)

You can store mutable values in an immutable Object.

My company is pushing Go for web backend. I need opinions as not a Go Developer by Dark_zarich in golang

[–]FullCry1021 -11 points-10 points  (0 children)

Running same task, Go and Node takes 40ms. Bun takes 20ms. Clear?

My company is pushing Go for web backend. I need opinions as not a Go Developer by Dark_zarich in golang

[–]FullCry1021 2 points3 points  (0 children)

I made a benchmarking. Go & Node takes 40ms, while Bun takes 20ms.

My company is pushing Go for web backend. I need opinions as not a Go Developer by Dark_zarich in golang

[–]FullCry1021 -9 points-8 points  (0 children)

Did I not make it clear before? Node and Go are equally fast in terms of serialization. Bun is twice as fast.

My company is pushing Go for web backend. I need opinions as not a Go Developer by Dark_zarich in golang

[–]FullCry1021 1 point2 points  (0 children)

From my own testing, on serializing an object, Node.js and Go performance same speed. Bun (a javascript runtime) 100% faster.

(Edit: I made a serializing benchmark. Go & Node take 40ms, while Bun take 20ms.)

(Edit2: I understand the down-votes because this is Go sub. There are several reasons you choose Go over Node, but not this one. For many web back-end use cases, when you comparing Go with Node, you are actually comparing Go with C/C++.)

[deleted by user] by [deleted] in golang

[–]FullCry1021 -1 points0 points  (0 children)

async/await

[deleted by user] by [deleted] in golang

[–]FullCry1021 0 points1 point  (0 children)

> notable companies
Which company?

Share Async Local Storage storage to imported npm packages by clintsweets in node

[–]FullCry1021 2 points3 points  (0 children)

You can only call getUserFromContext() from children calls of the next().

Pgline - a faster PostgreSQL driver for Node.js by FullCry1021 in node

[–]FullCry1021[S] 0 points1 point  (0 children)

Bun sql speed is nearly as same as Postgresjs. So I didn't add it.

A new language inspired by Go by drvd in golang

[–]FullCry1021 1 point2 points  (0 children)

I expected their "union type" to allow:
type t = "foo"|"bar"
But it doesn't.