2017-05-01T00:00:03Z bjz joined #scheme 2017-05-01T00:00:16Z bjz quit (Client Quit) 2017-05-01T00:00:25Z lambda-11235 joined #scheme 2017-05-01T00:09:23Z p9s quit (Remote host closed the connection) 2017-05-01T00:09:30Z p9s joined #scheme 2017-05-01T00:10:47Z daviid joined #scheme 2017-05-01T00:18:49Z JoshS joined #scheme 2017-05-01T00:27:52Z jaziz joined #scheme 2017-05-01T00:35:28Z m1dnight_ joined #scheme 2017-05-01T00:42:15Z janders_ joined #scheme 2017-05-01T00:45:01Z janders quit (Ping timeout: 260 seconds) 2017-05-01T00:46:39Z nomicflux joined #scheme 2017-05-01T00:46:47Z vydd quit 2017-05-01T00:47:13Z practica` quit (Read error: Connection reset by peer) 2017-05-01T00:48:36Z practica` joined #scheme 2017-05-01T01:06:27Z acarrico quit (Ping timeout: 240 seconds) 2017-05-01T01:07:31Z ASau joined #scheme 2017-05-01T01:08:37Z ASau quit (Remote host closed the connection) 2017-05-01T01:12:08Z cemerick joined #scheme 2017-05-01T01:21:49Z davexunit joined #scheme 2017-05-01T01:32:00Z jcowan quit (Quit: Leaving) 2017-05-01T01:33:29Z practica` quit (Read error: Connection reset by peer) 2017-05-01T01:33:44Z practica` joined #scheme 2017-05-01T01:38:15Z thevaliantx joined #scheme 2017-05-01T01:38:55Z thevaliantx: should I be learning Scheme or its parent Lisp? I have Dr Racket, but am having problems getting syntax to work with it from YouTube videos 2017-05-01T01:41:23Z thevaliantx: As I understand it ... Lisp -> Scheme -> Racket .... am I spending my time wisely with the Dr Racket software and Racket book? 2017-05-01T01:42:33Z badkins_ quit (Remote host closed the connection) 2017-05-01T01:44:45Z qu1j0t3: thevaliantx: what's your actual objective? 2017-05-01T01:47:09Z thevaliantx: Not really sure, to be honest. My son and I are learning programming together. He's been learning Python through books, but I wanted to introduce him to something different. Functional programming looks appealing to me, and I've read that learning FP helps one to become a better programmer in general. 2017-05-01T01:47:49Z thevaliantx: The syntax of the Lisp and Schemes look nice to me, and to me little things like putting operators before the numbers 'makes sense'. 2017-05-01T01:49:33Z badkins joined #scheme 2017-05-01T01:50:48Z jimmm is now known as jim 2017-05-01T01:52:29Z thevaliantx quit (Quit: Leaving) 2017-05-01T01:57:28Z ertes quit (Quit: Bye!) 2017-05-01T01:58:09Z ertes joined #scheme 2017-05-01T02:03:00Z JoshS quit (Quit: Leaving) 2017-05-01T02:32:04Z adu joined #scheme 2017-05-01T02:43:41Z nomicflux quit (Quit: nomicflux) 2017-05-01T02:44:08Z pilne quit (Quit: Quitting!) 2017-05-01T02:52:42Z Riastradh: wingo: Huh, I see you're messing with Concurrent ML lately! 2017-05-01T02:53:11Z Riastradh: wingo: I wrote a Concurrent ML implementation in Scheme a few years ago: https://mumble.net/~campbell/darcs/scheme-cml/ 2017-05-01T02:53:50Z ArneBab_ joined #scheme 2017-05-01T02:54:20Z Riastradh: (Used the word `rendezvous' instead of `event', because it represents when two processes both agree to coordinate, e.g. handing off a message from sender to receiver on a synchronous channel.) 2017-05-01T02:56:54Z Riastradh: wingo: (Actually, I wrote two implementations of CML -- the earlier one isn't as good: https://mumble.net/~campbell/darcs/scm-rendezvous/) 2017-05-01T02:57:35Z daviid quit (Ping timeout: 240 seconds) 2017-05-01T02:57:55Z Riastradh: wingo: For the second one I wrote (scheme-cml), I put a good deal of effort into making it interrupt-safe, so that if you hit ^C at the REPL and kill threads, internal data structures don't get corrupted. 2017-05-01T02:58:01Z ArneBab quit (Ping timeout: 260 seconds) 2017-05-01T02:58:46Z lritter joined #scheme 2017-05-01T03:00:39Z lritter_ joined #scheme 2017-05-01T03:00:39Z lritter quit (Read error: Connection reset by peer) 2017-05-01T03:01:20Z Fare quit (Ping timeout: 260 seconds) 2017-05-01T03:03:02Z Fare joined #scheme 2017-05-01T03:06:53Z Riastradh: wingo: Anyway, you might find it interesting, or you might find it to be a boring rehash of the work you already did months ago. Not sure whether it ever got published, but scheme-cml was based on a preprint or tech report or something from around the same time, ~2009ish, updated from the original mid-'90s CML research. 2017-05-01T03:09:06Z Riastradh: wingo: I cleverly neglected to write down a citation for it, apparently, but I think it might have been this: http://manticore.cs.uchicago.edu/papers/damp08.pdf 2017-05-01T03:13:44Z Riastradh: wingo: Hmm, it may have been this instead: http://manticore.cs.uchicago.edu/papers/icfp09-parallel-cml.pdf 2017-05-01T03:16:59Z Riastradh: Hmm. Maybe I didn't finish making it all safe to interrupt, according to the TODO I left in 2012: https://mumble.net/~campbell/tmp/TODO.scheme-cml 2017-05-01T03:17:09Z arquebus joined #scheme 2017-05-01T03:18:05Z arquebus left #scheme 2017-05-01T03:23:58Z cemerick quit (Ping timeout: 240 seconds) 2017-05-01T03:24:43Z Riastradh: wingo: Also, I think your psq.scm balance condition is wrong. See Yoichi Hirai and Kazu Yamamoto, `Balancing weight-balanced trees', Journal of Functional Programming 21(3), pp. 287--307, 2011. https://yoichihirai.com/bst.pdf 2017-05-01T03:26:44Z cemerick joined #scheme 2017-05-01T03:28:20Z Riastradh: wingo: Oops, I see you already knew about the ICFP 2009 CML paper, never mind! 2017-05-01T03:30:03Z adu quit (Quit: adu) 2017-05-01T03:34:09Z badkins quit (Remote host closed the connection) 2017-05-01T03:34:44Z cemerick quit (Ping timeout: 252 seconds) 2017-05-01T03:36:37Z badkins joined #scheme 2017-05-01T03:39:53Z p9s quit (Remote host closed the connection) 2017-05-01T03:40:32Z p9s joined #scheme 2017-05-01T03:40:34Z adu joined #scheme 2017-05-01T03:41:06Z badkins quit (Ping timeout: 245 seconds) 2017-05-01T03:41:54Z adu quit (Client Quit) 2017-05-01T03:44:40Z p9s quit (Ping timeout: 240 seconds) 2017-05-01T04:00:54Z gwatt quit (Quit: WeeChat 1.0.1) 2017-05-01T04:03:02Z adu joined #scheme 2017-05-01T04:07:58Z micmus quit (Quit: Connection closed for inactivity) 2017-05-01T04:23:55Z brendyn joined #scheme 2017-05-01T04:28:35Z p9s joined #scheme 2017-05-01T04:29:38Z p9s quit (Remote host closed the connection) 2017-05-01T04:30:05Z p9s joined #scheme 2017-05-01T04:31:40Z janders_ quit (Quit: Leaving) 2017-05-01T04:32:47Z adu quit (Quit: adu) 2017-05-01T04:34:51Z p9s quit (Ping timeout: 260 seconds) 2017-05-01T05:22:19Z cantstanya joined #scheme 2017-05-01T05:28:03Z p9s joined #scheme 2017-05-01T05:54:24Z Kkiro quit (Remote host closed the connection) 2017-05-01T05:55:56Z Fare quit (Ping timeout: 260 seconds) 2017-05-01T05:56:00Z Kkiro joined #scheme 2017-05-01T05:56:00Z Kkiro quit (Changing host) 2017-05-01T05:56:00Z Kkiro joined #scheme 2017-05-01T05:57:05Z micmus joined #scheme 2017-05-01T06:34:05Z pjb joined #scheme 2017-05-01T06:43:00Z igajsin joined #scheme 2017-05-01T06:51:17Z lambda-11235 quit (Quit: WeeChat 1.7.1) 2017-05-01T07:18:18Z safe quit (Read error: Connection reset by peer) 2017-05-01T07:20:46Z kvda quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-05-01T07:30:11Z eminhi joined #scheme 2017-05-01T07:32:23Z eminhi left #scheme 2017-05-01T07:40:04Z jmd joined #scheme 2017-05-01T07:46:00Z jaziz quit (Ping timeout: 260 seconds) 2017-05-01T07:46:44Z gravicappa joined #scheme 2017-05-01T08:44:16Z jmd quit (Remote host closed the connection) 2017-05-01T08:53:46Z cmatei quit (Remote host closed the connection) 2017-05-01T08:55:23Z cmatei joined #scheme 2017-05-01T09:10:57Z qu1j0t3 quit (Ping timeout: 240 seconds) 2017-05-01T09:43:06Z emacsomancer quit (Remote host closed the connection) 2017-05-01T09:47:30Z emacsomancer joined #scheme 2017-05-01T09:53:33Z practica` quit (Read error: Connection reset by peer) 2017-05-01T09:53:53Z practica` joined #scheme 2017-05-01T09:55:12Z sssilver joined #scheme 2017-05-01T10:11:30Z qu1j0t3 joined #scheme 2017-05-01T10:19:34Z TheLemonMan joined #scheme 2017-05-01T10:33:22Z practica` quit (Ping timeout: 255 seconds) 2017-05-01T10:33:54Z practica` joined #scheme 2017-05-01T10:57:59Z micmus quit (Quit: Connection closed for inactivity) 2017-05-01T11:15:09Z oleo quit (Quit: Verlassend) 2017-05-01T11:18:34Z practica` quit (Read error: Connection reset by peer) 2017-05-01T11:19:13Z practica` joined #scheme 2017-05-01T11:25:48Z bjz joined #scheme 2017-05-01T11:40:50Z p9s_ joined #scheme 2017-05-01T11:43:28Z p9s quit (Ping timeout: 240 seconds) 2017-05-01T11:51:55Z acarrico joined #scheme 2017-05-01T12:04:17Z nomicflux joined #scheme 2017-05-01T12:09:50Z Fare joined #scheme 2017-05-01T12:10:29Z nomicflux quit (Quit: nomicflux) 2017-05-01T12:11:36Z nomicflux joined #scheme 2017-05-01T12:20:51Z Fare quit (Ping timeout: 240 seconds) 2017-05-01T12:28:23Z jim quit (Remote host closed the connection) 2017-05-01T12:36:33Z jim joined #scheme 2017-05-01T12:37:27Z nomicflux quit (Quit: nomicflux) 2017-05-01T12:43:00Z gwatt joined #scheme 2017-05-01T12:44:57Z acarrico quit (Ping timeout: 240 seconds) 2017-05-01T12:47:18Z jmd joined #scheme 2017-05-01T13:11:42Z yrdz quit (Remote host closed the connection) 2017-05-01T13:18:48Z ertes quit (Ping timeout: 240 seconds) 2017-05-01T13:24:22Z badkins joined #scheme 2017-05-01T13:36:24Z cro__ quit (Read error: Connection reset by peer) 2017-05-01T13:38:43Z badkins quit (Read error: Connection reset by peer) 2017-05-01T13:52:58Z badkins joined #scheme 2017-05-01T13:54:51Z bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2017-05-01T14:03:10Z practica` quit (Ping timeout: 240 seconds) 2017-05-01T14:03:54Z practica` joined #scheme 2017-05-01T14:11:49Z Fare joined #scheme 2017-05-01T14:20:03Z oleo joined #scheme 2017-05-01T14:21:28Z p9s joined #scheme 2017-05-01T14:23:51Z DerGuteMoritz joined #scheme 2017-05-01T14:23:57Z p9s_ quit (Ping timeout: 240 seconds) 2017-05-01T14:34:20Z lritter_ quit (Ping timeout: 260 seconds) 2017-05-01T14:42:47Z mejja joined #scheme 2017-05-01T14:52:43Z p9s_ joined #scheme 2017-05-01T14:55:45Z p9s quit (Ping timeout: 258 seconds) 2017-05-01T14:58:39Z oleo quit (Quit: irc client terminated!) 2017-05-01T15:02:56Z jmd` joined #scheme 2017-05-01T15:05:49Z TheLemonMan quit (Quit: "It's now safe to turn off your computer.") 2017-05-01T15:08:03Z oleo_ joined #scheme 2017-05-01T15:08:43Z p9s_ quit (Remote host closed the connection) 2017-05-01T15:09:10Z p9s joined #scheme 2017-05-01T15:09:25Z oleo_ quit (Changing host) 2017-05-01T15:09:25Z oleo_ joined #scheme 2017-05-01T15:09:57Z oleo_ is now known as oleo 2017-05-01T15:12:44Z jmd quit (Remote host closed the connection) 2017-05-01T15:12:48Z jmd` quit (Remote host closed the connection) 2017-05-01T15:12:49Z oleo is now known as Guest70551 2017-05-01T15:13:28Z p9s quit (Ping timeout: 240 seconds) 2017-05-01T15:14:14Z Guest70551 is now known as oleo 2017-05-01T15:23:19Z X-Scale quit (Quit: HydraIRC -> http://www.hydrairc.com <- It'll be on slashdot one day...) 2017-05-01T15:24:22Z badkins quit (Read error: Connection reset by peer) 2017-05-01T15:40:34Z ertes joined #scheme 2017-05-01T15:41:22Z oleo quit (Quit: irc client terminated!) 2017-05-01T15:41:39Z oleo joined #scheme 2017-05-01T15:52:21Z oleo quit (Quit: irc client terminated!) 2017-05-01T16:04:41Z jonaslund quit (Ping timeout: 268 seconds) 2017-05-01T16:09:46Z p9s joined #scheme 2017-05-01T16:10:29Z badkins joined #scheme 2017-05-01T16:14:57Z p9s quit (Ping timeout: 240 seconds) 2017-05-01T16:17:36Z PinealGlandOptic joined #scheme 2017-05-01T16:19:00Z sssilver_ joined #scheme 2017-05-01T16:19:47Z sssilver quit (Ping timeout: 255 seconds) 2017-05-01T16:21:26Z pjb quit (Ping timeout: 252 seconds) 2017-05-01T16:22:40Z pjb joined #scheme 2017-05-01T16:33:32Z oleo_ joined #scheme 2017-05-01T16:34:55Z oleo_ quit (Client Quit) 2017-05-01T16:35:43Z oleo_ joined #scheme 2017-05-01T16:36:23Z shpx_ joined #scheme 2017-05-01T16:36:52Z ericmath1son joined #scheme 2017-05-01T16:36:55Z zbigniew_ joined #scheme 2017-05-01T16:37:05Z pilne joined #scheme 2017-05-01T16:39:04Z oleo_ quit (Changing host) 2017-05-01T16:39:04Z oleo_ joined #scheme 2017-05-01T16:41:10Z mejja: rudybot: eval ((call/cc call/cc) (call/cc call/cc)) 2017-05-01T16:41:11Z qu1j0t3 quit (*.net *.split) 2017-05-01T16:41:12Z taylan quit (*.net *.split) 2017-05-01T16:41:12Z rudybot quit (*.net *.split) 2017-05-01T16:41:12Z shpx quit (*.net *.split) 2017-05-01T16:41:13Z tristero quit (*.net *.split) 2017-05-01T16:41:13Z ericmathison quit (*.net *.split) 2017-05-01T16:41:14Z c0dehero quit (*.net *.split) 2017-05-01T16:41:14Z zbigniew quit (*.net *.split) 2017-05-01T16:42:50Z taylan joined #scheme 2017-05-01T16:43:35Z qu1j0t3 joined #scheme 2017-05-01T16:49:16Z tristero joined #scheme 2017-05-01T16:52:29Z mejja quit (Quit: \ No newline at end of file) 2017-05-01T17:00:47Z oleo_ quit (Quit: irc client terminated!) 2017-05-01T17:03:27Z daviid joined #scheme 2017-05-01T17:04:42Z oleo__ joined #scheme 2017-05-01T17:06:58Z brendyn quit (Ping timeout: 268 seconds) 2017-05-01T17:16:30Z oleo__ quit (Changing host) 2017-05-01T17:16:30Z oleo__ joined #scheme 2017-05-01T17:26:00Z jcowan joined #scheme 2017-05-01T17:26:40Z badkins quit (Ping timeout: 240 seconds) 2017-05-01T17:42:19Z jao joined #scheme 2017-05-01T17:46:43Z manualcrank joined #scheme 2017-05-01T17:48:03Z badkins joined #scheme 2017-05-01T17:50:55Z acarrico joined #scheme 2017-05-01T17:51:05Z jao quit (Ping timeout: 240 seconds) 2017-05-01T17:51:13Z turbofail joined #scheme 2017-05-01T18:09:35Z c0dehero joined #scheme 2017-05-01T18:11:47Z jonaslund joined #scheme 2017-05-01T18:15:27Z jao joined #scheme 2017-05-01T18:17:03Z iskander joined #scheme 2017-05-01T18:18:44Z iskander left #scheme 2017-05-01T18:30:25Z jonaslund quit (Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]) 2017-05-01T18:40:33Z nomicflux joined #scheme 2017-05-01T18:45:14Z nomicflux quit (Ping timeout: 260 seconds) 2017-05-01T18:51:11Z gacepa joined #scheme 2017-05-01T18:54:52Z jonaslund joined #scheme 2017-05-01T18:58:56Z Riastradh quit (Ping timeout: 260 seconds) 2017-05-01T19:05:15Z tmc quit (Read error: Connection reset by peer) 2017-05-01T19:05:31Z tmc joined #scheme 2017-05-01T19:09:23Z alphor quit (Quit: Bye!) 2017-05-01T19:13:01Z p9s joined #scheme 2017-05-01T19:16:16Z acarrico quit (Ping timeout: 255 seconds) 2017-05-01T19:18:17Z p9s quit (Ping timeout: 276 seconds) 2017-05-01T19:20:23Z trystero joined #scheme 2017-05-01T19:20:24Z tristero quit (Ping timeout: 260 seconds) 2017-05-01T19:28:55Z acarrico joined #scheme 2017-05-01T19:38:03Z jmd joined #scheme 2017-05-01T19:50:10Z sethalves joined #scheme 2017-05-01T19:54:06Z namosca joined #scheme 2017-05-01T20:07:09Z Khisanth quit (Ping timeout: 240 seconds) 2017-05-01T20:07:24Z namosca left #scheme 2017-05-01T20:19:32Z sssilver_ quit (Remote host closed the connection) 2017-05-01T20:20:12Z sssilver joined #scheme 2017-05-01T20:21:10Z Khisanth joined #scheme 2017-05-01T20:22:35Z igajsin quit (Ping timeout: 240 seconds) 2017-05-01T20:27:52Z yrdz joined #scheme 2017-05-01T20:37:09Z trystero is now known as tristero 2017-05-01T20:39:35Z grublet quit (Ping timeout: 240 seconds) 2017-05-01T20:43:08Z vydd joined #scheme 2017-05-01T20:43:08Z vydd quit (Changing host) 2017-05-01T20:43:08Z vydd joined #scheme 2017-05-01T20:54:24Z jaziz joined #scheme 2017-05-01T20:57:45Z theseb joined #scheme 2017-05-01T20:59:16Z theseb: are strings atoms? 2017-05-01T20:59:22Z ertesx joined #scheme 2017-05-01T21:03:00Z ertes quit (Ping timeout: 260 seconds) 2017-05-01T21:03:00Z ertesx is now known as ertes 2017-05-01T21:06:20Z jmd quit (Remote host closed the connection) 2017-05-01T21:07:04Z CORDIC: theseb: Yes. Atom is anything that is not a cons pair. 2017-05-01T21:10:12Z theseb quit (Remote host closed the connection) 2017-05-01T21:10:53Z theseb joined #scheme 2017-05-01T21:11:30Z theseb: CORDIC: it gets odd for strings because they can be divided so you COULD represent them with lists no? 2017-05-01T21:12:43Z CORDIC: Good point. 2017-05-01T21:23:28Z gravicappa quit (Ping timeout: 246 seconds) 2017-05-01T21:30:09Z gacepa quit (Quit: Connection closed for inactivity) 2017-05-01T21:31:26Z gwatt: no. 2017-05-01T21:31:47Z wasamasa: I find atom? somewhat screwy to define 2017-05-01T21:31:53Z wasamasa: better use pair? and null? instead 2017-05-01T21:32:10Z Fare quit (Ping timeout: 240 seconds) 2017-05-01T21:32:18Z gwatt: At least r7rs says that no object may satisfy more than one of a given set of predicates at a time 2017-05-01T21:32:53Z gwatt: string? and pair? are both listed, so you cannot transparently implement strings as list of chars 2017-05-01T21:33:10Z sssilver quit (Read error: Connection reset by peer) 2017-05-01T21:33:45Z sssilver joined #scheme 2017-05-01T21:35:14Z gwatt: wasamasa: atom? the same as not pair?, no? 2017-05-01T21:36:07Z DeeEff: On a slightly less related note: I find atom? to be one of the worst predicates to define in something like mini-kanren 2017-05-01T21:36:11Z wasamasa: that's how CHICKEN defines it, but The Little Schemer doesn't 2017-05-01T21:36:36Z DeeEff: it's always such a pain to try and say "this isn't _" in relational programming 2017-05-01T21:38:24Z Fare joined #scheme 2017-05-01T21:38:55Z wasamasa: (define atom? (lambda (x) (and (not (pair? x)) (not (null? x))))) 2017-05-01T21:39:21Z wasamasa: so, CHICKEN considers the empty list an atom, The Little Schemer doesn't 2017-05-01T21:48:29Z PinealGlandOptic quit (Quit: leaving) 2017-05-01T21:53:47Z gwatt: chez and guile say atom? is not pair? 2017-05-01T21:55:44Z aeth: I love the ? syntax but wow that line is hard to parse 2017-05-01T21:56:06Z yrdz quit (Read error: Connection reset by peer) 2017-05-01T21:56:11Z aeth: (gwatt's I mean) 2017-05-01T21:57:27Z aeth: Strings shouldn't be lists. You get all of the disadvantages of C-strings (null-terminated instead of NUL-terminated, though), with less performance. 2017-05-01T22:00:19Z DeeEff: strings are closer to vectors if anything 2017-05-01T22:00:27Z aeth: Strings *are* vectors. 2017-05-01T22:00:35Z DeeEff: fixed size, typically prefer random access, etc 2017-05-01T22:00:57Z aeth: In r7rs there's a (probably) very intentional parallel between vectors, strings, and bytevectors. 2017-05-01T22:01:17Z turbofail: except they aren't (usually) random access, when using utf-8 2017-05-01T22:01:50Z aeth: turbofail: Most languages internally use utf-32, using more memory for the sake of keeping things simple internally. 2017-05-01T22:01:56Z aeth: Although they might write utf-8. 2017-05-01T22:01:57Z DeeEff: typically implemented as such, but I wouldn't say are as if that's the only way to implement strings 2017-05-01T22:01:57Z DeeEff: IIRC there's some crazy nonsense about strings as b-trees out there somewhere. Can't remember if it was closure or something else 2017-05-01T22:01:58Z DeeEff: **clojure 2017-05-01T22:02:03Z jcowan quit (Quit: Leaving) 2017-05-01T22:02:36Z aeth: https://en.wikipedia.org/wiki/UTF-32#Use 2017-05-01T22:02:36Z turbofail: it's how strings are represented in spidermonkey JS 2017-05-01T22:02:50Z turbofail: well, they use ropes, not b-trees 2017-05-01T22:02:53Z qu1j0t3: well, Clojure Vectors are HAMT's. 32-fanout trees. But I don't know if it uses them for Strings. (Woudln't it use java.lang.String?) 2017-05-01T22:03:04Z turbofail: it does use java.lang.String 2017-05-01T22:03:29Z turbofail: b-trees are used in some text editor widgets 2017-05-01T22:06:05Z turbofail: anyway java.lang.String is also not random-access, as it uses UTF-16 internally which is variable-length 2017-05-01T22:06:14Z aeth: Sorry, I meant to say "Although they might read/write utf-8" 2017-05-01T22:06:40Z aeth: Yes, older languages use utf-16 internally. Iirc, some are old enough that utf-16 wasn't variable-length when they made the decision! 2017-05-01T22:07:17Z aeth: But I think most of the newer switchers to Unicode prefer utf-32 (And that in turn will inevitably in the long run be variable-length, too. So it goes.) 2017-05-01T22:08:14Z aeth: oh, okay, according to Wikipedia utf-16 was always variable-length, but it is a successor to the fixed-width ucs-2. https://en.wikipedia.org/wiki/UTF-16 2017-05-01T22:09:39Z sssilver_ joined #scheme 2017-05-01T22:09:53Z aeth: I know if I were writing a Scheme from scratch with direct native compilation to assembly, I'd use UTF-32. 2017-05-01T22:10:21Z aeth: RAM is plentiful for most applications. 2017-05-01T22:10:44Z sssilver quit (Ping timeout: 260 seconds) 2017-05-01T22:10:48Z aeth: If the tradeoff is increased RAM usage, imo, do it. 2017-05-01T22:11:27Z badkins quit (Ping timeout: 240 seconds) 2017-05-01T22:15:11Z turbofail: https://blog.mozilla.org/javascript/2014/07/21/slimmer-and-faster-javascript-strings-in-firefox/ 2017-05-01T22:15:29Z aeth: Wow, the Samsung Galaxy S8 has 4 GB RAM. I remember when phones and tablets had 512 MB. 2017-05-01T22:15:46Z aeth: Pretty soon, they'll be at 8 GB. For all except niche uses, do sacrifice RAM. 2017-05-01T22:16:41Z aeth: turbofail: Anything web-related isn't a good example for anything imo. The whole stack is awful, mainly because of the backwards-compatible-forever nature of it. 2017-05-01T22:17:50Z turbofail: ok, but that's several major platforms that don't use UTF-32 internally 2017-05-01T22:18:23Z aeth: And at one point, it was 100% of major platforms that didn't use UTF-32 internally. 2017-05-01T22:19:32Z aeth: Not all languages use strings equally, either. Languages that neither have enums nor symbols/keywords will probably use strings more often than Scheme, for things where Scheme would use symbols (or keywords, if supported). 2017-05-01T22:21:31Z aeth: turbofail: Interestingly, it looks like my "backwards compatibility" argument seems to hold. "Why not use UTF8?" "(1) Too much work to switch, (2) an algorithm that only works with ASCII, (3) and too much work to switch." 2017-05-01T22:22:36Z aeth: Web browsers have different issues than a Scheme, though. They *do* have to run on mobile (e.g. Firefox for Android), where some devices still do just have 512 MB RAM. 2017-05-01T22:22:53Z aeth: Especially in 2014. 2017-05-01T22:24:03Z turbofail: but what if i want to be able to write mobile apps in scheme? 2017-05-01T22:24:52Z aeth: Good luck getting it on the App Store. 2017-05-01T22:24:53Z turbofail: or what if i want to be able to pay less for hosting? 2017-05-01T22:25:02Z turbofail: people have written scheme apps that have gotten into the App Store 2017-05-01T22:25:19Z aeth: I thought Apple didn't like interpreters and didn't like GC? 2017-05-01T22:25:48Z wasamasa: no interpreters indeed, but dunno about no GC 2017-05-01T22:26:01Z turbofail: https://itunes.apple.com/us/app/gambit-repl/id434534076?mt=8 2017-05-01T22:26:04Z wasamasa: CHICKEN managed to get into the app store 2017-05-01T22:26:07Z aeth: wasamasa: Well, Apple certainly doesn't like dynamic languages that might not necessarily do the same thing after-approval than before. 2017-05-01T22:26:07Z turbofail: there's an interpreter 2017-05-01T22:26:16Z aeth: wasamasa: Is that the *desktop* app store? 2017-05-01T22:26:19Z aeth: Different rules 2017-05-01T22:26:27Z wasamasa: why, no, the mobile one 2017-05-01T22:26:31Z aeth: interesting 2017-05-01T22:26:51Z p9s joined #scheme 2017-05-01T22:27:12Z p9s quit (Remote host closed the connection) 2017-05-01T22:27:13Z aeth: I think the restriction might be against JIT interpreters, not interpreters in general. I could be wrong. 2017-05-01T22:27:16Z p9s_ joined #scheme 2017-05-01T22:27:23Z aeth: There is *some* restriction that could make it tricky for some languages, I can't quite remember. 2017-05-01T22:27:37Z wasamasa: well, that would rule out every modern JS interpreter 2017-05-01T22:27:43Z aeth: It does. 2017-05-01T22:27:43Z wasamasa: but then, they themselves don't have to play by the rules 2017-05-01T22:27:48Z aeth: Apple doesn't support third party web browsers. 2017-05-01T22:27:54Z p9s_ quit (Remote host closed the connection) 2017-05-01T22:27:58Z aeth: "Firefox", "Chrome", etc., on iOS are just wrappers over Safari 2017-05-01T22:28:04Z p9s joined #scheme 2017-05-01T22:28:42Z p9s quit (Remote host closed the connection) 2017-05-01T22:28:46Z aeth: Meanwhile, there is at least one non-Chrome web browser on Android, Firefox. 2017-05-01T22:28:52Z p9s joined #scheme 2017-05-01T22:29:18Z turbofail: http://www.lambdanative.org/ 2017-05-01T22:29:30Z p9s quit (Remote host closed the connection) 2017-05-01T22:29:36Z turbofail: being used in a legit app right now 2017-05-01T22:29:49Z p9s joined #scheme 2017-05-01T22:30:27Z aeth: Iirc, iOS is against certain *dynamic* features, which would probably disqualify a feature-complete CL, but probably wouldn't disqualify a standard-following Scheme. 2017-05-01T22:30:28Z p9s quit (Read error: Connection reset by peer) 2017-05-01T22:30:29Z p9s_ joined #scheme 2017-05-01T22:30:37Z aeth: What they don't want is apps changing after they review them, without being reviewed again. 2017-05-01T22:30:47Z aeth: And they also don't want competing JS engines. 2017-05-01T22:31:06Z p9s_ quit (Remote host closed the connection) 2017-05-01T22:32:21Z turbofail: "Apple started officially allowing programming language interpreters in the iOS App store late Q3 of 2010 (they changed their SDK agreement to clarify this). However interpreters (except for Javascript in a UIWebview) are not allowed to run any downloaded code. Only code built into the app, or typed in by the user." 2017-05-01T22:32:31Z turbofail: http://stackoverflow.com/questions/4891642/interpreter-for-the-iphone 2017-05-01T22:32:44Z aeth: Thank you for being better at finding it than I was. 2017-05-01T22:32:46Z turbofail: anyway even if apple didn't allow it, android would 2017-05-01T22:32:55Z turbofail: and i don't have an iphone 2017-05-01T22:33:32Z aeth: Yes. 2017-05-01T22:34:01Z aeth: Apple, even if they don't disallow GC, clearly don't like it, though. 2017-05-01T22:34:37Z theseb quit (Remote host closed the connection) 2017-05-01T22:40:25Z practica` quit (Ping timeout: 260 seconds) 2017-05-01T22:47:40Z yrdz joined #scheme 2017-05-01T22:49:00Z sz0 joined #scheme 2017-05-01T22:49:45Z daviid quit (Ping timeout: 260 seconds) 2017-05-01T22:50:14Z oleo__ quit (Ping timeout: 260 seconds) 2017-05-01T22:58:48Z badkins joined #scheme 2017-05-01T23:03:08Z webshinra joined #scheme 2017-05-01T23:03:10Z oleo_ joined #scheme 2017-05-01T23:11:04Z safe joined #scheme 2017-05-01T23:20:34Z akkad_ is now known as akkad 2017-05-01T23:23:39Z adu joined #scheme 2017-05-01T23:33:40Z jaziz quit (Ping timeout: 240 seconds) 2017-05-01T23:34:21Z lambda-11235 joined #scheme 2017-05-01T23:34:36Z vydd quit 2017-05-01T23:43:59Z oleo_ quit (Ping timeout: 258 seconds) 2017-05-01T23:48:50Z oleo joined #scheme 2017-05-01T23:49:46Z pjb quit (Quit: Be seeing you!) 2017-05-01T23:49:49Z daviid joined #scheme