11 Aug 2021 |
dom96#7486 | my guess is it would perform fine, Karax was benchmarked heavily by Araq when it was built | 17:03:23 |
dom96#7486 | but anyway, benchmarks are easy to game | 17:03:37 |
juan_carlos#3778 | If built as release or danger it would be Ok. | 17:55:24 |
| fimkold joined the room. | 18:01:01 |
ajusa#3756 | well I'm comparing it to Vue/React/other tuned javascript libraries - I'm not saying it would be the slowest (I know a TON of work was put into it) but the other JS libraries have had a TON of work put into them over 5-10 years which is hard to beat | 18:25:17 |
nixfreak_nim[Matrix]#0000 | wow it looks like vanilla js is still the fastest | 19:44:14 |
nixfreak_nim[Matrix]#0000 | how is that , I thought using a shadow dom or vdom is faster ? | 19:44:44 |
| SEO Science joined the room. | 20:04:47 |
exelotl#9183 | vanilla JS written with performance in mind should always be faster right? A Virtual DOM may be resonably efficient but certainly has a runtime cost | 20:06:20 |
| mem✨ joined the room. | 21:59:33 |
12 Aug 2021 |
| NU joined the room. | 02:11:02 |
| Nim 👺 joined the room. | 03:09:54 |
| CrimsonCatboi joined the room. | 03:12:37 |
tandy | does prologue support routes like this ? `/user/@username` | 09:43:00 |
xflywind | https://planety.github.io/prologue/routing/ | 09:53:02 |
xflywind | See Parameters Routing | 09:53:48 |
| Ethycol joined the room. | 11:33:10 |
| hts joined the room. | 14:20:10 |
| pinebit joined the room. | 14:24:12 |
tandy | cool, can you also place the value of that parameter into a template? | 16:32:07 |
tandy | (a karax template) | 16:33:21 |
enthus1ast | you must deliver it to the client somehow | 16:38:01 |
enthus1ast | but it might be better to get it straight out of the url for single page apps | 16:39:02 |
tandy | hmm ok | 17:35:51 |
tandy | for some reason, when trying to use this style of project arrangement, (serverside rendering) | 17:36:15 |
tandy | https://github.com/planety/prologue/tree/d84bb0275b0b76fd8b5242dde85c3a1861fa7f40/examples/blog | 17:36:16 |
tandy | `/home/tandy/Programming/nim/listen2gether/src/templates/home.nim(1, 14) Error: cannot open file: karax/karaxdsl` | 17:36:33 |
tandy | i get this | 17:36:35 |
tandy | when trying to import karax | 17:36:49 |
tandy | oh i think i know why | 17:40:02 |