thriftcore - Apache Thrift primitives

2023-10-05 Thread icedquinn
> Any know reason for that? Sure. People are only looking at the toolkits that were put out and not the protocols. Apache Thrift uses the old thread-per-client Java model and was never updated much. Whereas Facebook and Twitter moved on and implemented new servers using the async APIs. Some of

related_post_gen benchmark

2023-10-05 Thread PMunch
Huh, I thought the main proc speedup thing didn't apply any more. Guess it still does if you got a significant speedup.

Quantum Leaps framework implementation /Miro Samek/

2023-10-05 Thread hugosenario
> Show me a repo? Show me a repo :-)

thriftcore - Apache Thrift primitives

2023-10-05 Thread hugosenario
> everyone is deprecating their Thrift endpoints Any know reason for that? I'm looking for a fast "RPC for IPC", thrift has more languages support than Cap'n Proto, I saw that there is also FBThrift. In my case others closing theirs endpoint wouldn't be a problem, but I would be afraid of lib

related_post_gen benchmark

2023-10-05 Thread inv2004
I replaced your implementation with xxhash package, just because it showed a hair faster result locally * I would than wrap everything into `main` proc did a significant boost ^^^ pushed into upstream Also, I found that fvn hash looks a hair faster also (is it the same golang has?). Have n

How ready is Nim (and the ecosystem) for front-end web development?

2023-10-05 Thread Araq
It's only slow to recompile because you refuse to use macros where you need them and instead use template nesting which causes exponential compile-times...

How ready is Nim (and the ecosystem) for front-end web development?

2023-10-05 Thread alexeypetrushin
> it would be lovely if we can have some CSS-in-Nim That should be trivial to implement.

Why is building the community and ecosystem such a struggle?

2023-10-05 Thread alexeypetrushin
Because it's hard, to make product successfull you need: 1. You need to **identify** problems people have. 2. Provide solution to those problems that's **better than existing solutions**. 3. **Reach those people and explain** your solution and how it's better. I would say Nim has problem

How ready is Nim (and the ecosystem) for front-end web development?

2023-10-05 Thread alexeypetrushin
I would rephrase the question. Is web dev with Nim provides benefits compared to alternatives? Less bugs, faster delivery from idea to finished product, etc. P.S. About JS performance - nobody gives the slightest fuck about UI performance. All those React.JS/Svelte/PureJS UI benchmark, who's 20

Nim for Beginners video series discussion thread

2023-10-05 Thread Kiloneie
It appears that i have accidentally put the html code that was before now, to be saved as .html and then ran in the browser. I have made a github page that now lists all of my nimib styled offline tutorials. Also fixed the link, which should of lead to the actual video! # [Nim for Beginners Se

How ready is Nim (and the ecosystem) for front-end web development?

2023-10-05 Thread enthus1ast
The nim main channel (and some others) are bridged from matrix to discord

How ready is Nim (and the ecosystem) for front-end web development?

2023-10-05 Thread bsljth
Got ya. Thanks @cmc I'd only been active on Discord. But I had not started doing front-end stuff with Nim.

related_post_gen benchmark

2023-10-05 Thread PMunch
Okay, gave FxHash a go. Implemented it like this: import bitops from hashes import Hash const rotate = 5 seed = 0x517cc1b727220a95'u64 proc hashWord(x: var Hash, word: uint64) = x = cast[Hash]((x.uint64.rotateLeftBits(rotate) xor word) * seed)

related_post_gen benchmark

2023-10-05 Thread Araq
> Does Go even have the kinds of checks that -d:release performs? No, it doesn't do overflow checking and it's better at optimizing array index bounds checking as it's generally not disabled in Go and generally disabled in Nim in performance critical sections.

How ready is Nim (and the ecosystem) for front-end web development?

2023-10-05 Thread cmc
I'd say it is completely ready right now as long as you are willing to read some source code of libraries to get information when documentation is missing. Also, the Nim channel on matrix is a great way to get quick help, people there are amazing.

related_post_gen benchmark

2023-10-05 Thread PMunch
Would be interesting to implement FxHash in Nim and see how that changes performance. The source for it can be found [here](https://docs.rs/fxhash/latest/src/fxhash/lib.rs.html#11-324), so should be easy enough. Nim appears to use Murmurhash which hashes 32 bits at a time, so better than the de

Why is building the community and ecosystem such a struggle?

2023-10-05 Thread geotre
While we're talking about the forum, can someone [help to get the latest version deployed](https://github.com/nim-lang/nimforum/issues/350#issuecomment-1730119541)? There is a showstopper issue (forum does not load when you have certain browser extensions installed) that has been fixed and merg

How ready is Nim (and the ecosystem) for front-end web development?

2023-10-05 Thread bsljth
Does anyone have any benchmarks done with Nim front-end stuff against front-end libraries/frameworks from the JavaScript ecosystem? Something against React would suffice.

Why is building the community and ecosystem such a struggle?

2023-10-05 Thread ingo
Fragmentation, not in the sense of communication channels. Fragmentation in, lets say responsibilities. The late Pieter Hintjens of zeromMQ has some good videos on that. and for example. Then, regarding

Why is building the community and ecosystem such a struggle?

2023-10-05 Thread enthus1ast
One thing about fragmentation for example: Not all discord channels are bridged to matrix

Why is building the community and ecosystem such a struggle?

2023-10-05 Thread carterza
Care to elaborate? I don't necessarily disagree that the community is fragmented but I'm really trying to understand causal factors rather than symptoms that manifest from them. I'd consider fragmentation a symptom of whatever underlying problems are causing the community to fragment. What are

Why is building the community and ecosystem such a struggle?

2023-10-05 Thread ingo
> Why is building the community and ecosystem such a struggle? Fragmentation.

How ready is Nim (and the ecosystem) for front-end web development?

2023-10-05 Thread dissolved_girl
What makes you say this? On a regular 2G connection and no cache, this page takes 15 seconds to load, which is fairly acceptable (nowhere near "several minutes"), and a lot of time is spent on loading recaptcha, fonts, avatars from gravatar, etc. Having cache reduces loading times to nearly zero

AES Help Please

2023-10-05 Thread dissolved_girl
It's impossible to say without the encryption code. Fairly sure this padding is added while encrypting.

How ready is Nim (and the ecosystem) for front-end web development?

2023-10-05 Thread enthus1ast
Also nitter.net is done in nim! I've done alot of small stuff in nimja (obviously) and for this it's quite nice. For larger stuff the compile cycle sometimes is a little annoying. So I can recommend a watcher that recompile your stuff on change for example:

How ready is Nim (and the ecosystem) for front-end web development?

2023-10-05 Thread xigoi
If you don't mind people on a slow data connection taking several minutes to load your website, you can definitely use Nim.

How ready is Nim (and the ecosystem) for front-end web development?

2023-10-05 Thread Araq
The forum does not take several minutes to load...