Newest at the top
| 2026-02-25 13:56:18 +0100 | uli-fem | (~uli-fem@118.210.1.123) (Ping timeout: 246 seconds) |
| 2026-02-25 13:55:05 +0100 | <__monty__> | That's the thing, it'd be slower for most of the code written to use String. |
| 2026-02-25 13:54:15 +0100 | <chromoblob> | speed and memory is "nicer" to me than "niceness" |
| 2026-02-25 13:53:27 +0100 | <__monty__> | So that leaves having a "buffer" instead of a list. And that just doesn't play as nice with functional idioms. |
| 2026-02-25 13:52:37 +0100 | <__monty__> | chromoblob: Char is analogous to UTF-32 already, no? |
| 2026-02-25 13:52:05 +0100 | uli-fem | (~uli-fem@118.210.1.123) |
| 2026-02-25 13:50:17 +0100 | Athas | (athas@2a01:7c8:aaac:1cf:5b23:7d4e:8d70:47e1) |
| 2026-02-25 13:50:04 +0100 | Athas | (athas@2a01:7c8:aaac:1cf:10a0:cce8:21cf:53aa) (Quit: ZNC 1.9.1 - https://znc.in) |
| 2026-02-25 13:45:16 +0100 | comonad | (~comonad@p200300d02722ae00dce4ce9451b59974.dip0.t-ipconnect.de) |
| 2026-02-25 13:44:59 +0100 | comonad | (~comonad@p200300d02722ae00dce4ce9451b59974.dip0.t-ipconnect.de) (Server closed connection) |
| 2026-02-25 13:44:57 +0100 | <chromoblob> | ;) |
| 2026-02-25 13:44:19 +0100 | <merijn> | chromoblob: I mean, feel free to try it :> |
| 2026-02-25 13:44:00 +0100 | poscat | (~poscat@user/poscat) poscat |
| 2026-02-25 13:43:03 +0100 | <chromoblob> | i mean, there are almost always very easy to decide optimizations |
| 2026-02-25 13:42:55 +0100 | tremon | (~tremon@83.80.159.219) tremon |
| 2026-02-25 13:42:42 +0100 | <merijn> | That's the reason why Haskell has like 5-8 string types (depending how you count :p) |
| 2026-02-25 13:42:11 +0100 | <merijn> | chromoblob: Basically automatically deciding optimal layout is hard, if not impossible |
| 2026-02-25 13:42:08 +0100 | <chromoblob> | well, the source code would be portable... |
| 2026-02-25 13:42:02 +0100 | machinedgod | (~machinedg@d172-219-48-230.abhsia.telus.net) machinedgod |
| 2026-02-25 13:41:47 +0100 | <merijn> | Lazy Text |
| 2026-02-25 13:41:45 +0100 | <merijn> | Rather |
| 2026-02-25 13:41:41 +0100 | <merijn> | chromoblob: That's just Text? |
| 2026-02-25 13:40:48 +0100 | <chromoblob> | could use UTF-32 or "UTF-24" |
| 2026-02-25 13:40:23 +0100 | poscat | (~poscat@user/poscat) (Remote host closed the connection) |
| 2026-02-25 13:40:17 +0100 | <chromoblob> | complicates * |
| 2026-02-25 13:40:14 +0100 | Moyst | (~moyst@user/moyst) Moyst |
| 2026-02-25 13:40:11 +0100 | <chromoblob> | yeah, Unicode complicated |
| 2026-02-25 13:39:48 +0100 | <chromoblob> | well, no need to perfect things, but it'd be cool if Strings were stored as a UTF-8 buffer + a thunk for the rest of string |
| 2026-02-25 13:38:59 +0100 | Moyst | (~moyst@user/moyst) (Server closed connection) |
| 2026-02-25 13:37:32 +0100 | uli-fem | (~uli-fem@118.210.1.123) (Ping timeout: 256 seconds) |
| 2026-02-25 13:36:52 +0100 | <merijn> | String literals are compiled to dense byte blobs that get lazily converted into [Char] |
| 2026-02-25 13:36:38 +0100 | <merijn> | chromoblob: That said, string literals aren't actually even [Char] in compiled code |
| 2026-02-25 13:36:26 +0100 | <merijn> | chromoblob: Because "optimal" is a hard thing to define :p |
| 2026-02-25 13:35:54 +0100 | Lord_of_Life | (~Lord@user/lord-of-life/x-2819915) Lord_of_Life |
| 2026-02-25 13:34:31 +0100 | Lord_of_Life | (~Lord@user/lord-of-life/x-2819915) (Quit: Laa shay'a waqi'un moutlaq bale kouloun moumkine) |
| 2026-02-25 13:32:53 +0100 | uli-fem | (~uli-fem@118.210.1.123) |
| 2026-02-25 13:24:05 +0100 | housemate | (~housemate@202.7.248.67) housemate |
| 2026-02-25 13:20:40 +0100 | prdak | (~Thunderbi@user/prdak) prdak |
| 2026-02-25 13:18:29 +0100 | berberman | (~berberman@user/berberman) berberman |
| 2026-02-25 13:18:19 +0100 | berberman | (~berberman@user/berberman) (Server closed connection) |
| 2026-02-25 13:17:16 +0100 | mange | (~mange@user/mange) (Quit: Zzz...) |
| 2026-02-25 13:15:00 +0100 | spew | (~spew@user/spew) (Quit: nyaa~) |
| 2026-02-25 13:14:49 +0100 | p3n | (~p3n@2a00:19a0:3:7c:0:d9c6:7cf6:1) p3n |
| 2026-02-25 13:12:01 +0100 | p3n | (~p3n@2a00:19a0:3:7c:0:d9c6:7cf6:1) (Quit: ZNC 1.10.1 - https://znc.in) |
| 2026-02-25 13:08:21 +0100 | prdak | (~Thunderbi@user/prdak) (Ping timeout: 246 seconds) |
| 2026-02-25 13:04:05 +0100 | prdak | (~Thunderbi@user/prdak) prdak |
| 2026-02-25 13:02:15 +0100 | uli-fem | (~uli-fem@118.210.1.123) (Ping timeout: 255 seconds) |
| 2026-02-25 13:02:15 +0100 | spew | (~spew@user/spew) spew |
| 2026-02-25 13:01:08 +0100 | philopsos1 | (~caecilius@user/philopsos) philopsos |
| 2026-02-25 12:48:04 +0100 | <probie> | Without forcing "whole program compilation" that's pretty much impossible |