This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # beginners (47)
- # boot (5)
- # bristol-clojurians (1)
- # cider (45)
- # clara (2)
- # cljs-dev (11)
- # cljsrn (47)
- # clojure (169)
- # clojure-brasil (2)
- # clojure-dusseldorf (22)
- # clojure-finland (1)
- # clojure-italy (9)
- # clojure-nl (3)
- # clojure-poland (2)
- # clojure-russia (4)
- # clojure-spec (79)
- # clojure-uk (105)
- # clojurescript (59)
- # core-async (39)
- # cursive (31)
- # datomic (10)
- # devcards (1)
- # duct (6)
- # editors (9)
- # emacs (12)
- # figwheel (1)
- # fulcro (50)
- # java (4)
- # mount (1)
- # off-topic (47)
- # onyx (33)
- # pedestal (1)
- # protorepl (1)
- # re-frame (32)
- # reagent (45)
- # ring-swagger (6)
- # shadow-cljs (100)
- # tools-deps (6)
- # uncomplicate (27)
- # vim (3)
A lot of especially small government intuitions are pretty afraid of GDPR, a lot of companies make some profit of it. But a lot of companies even in Europe are not fully compliant, and some big ones aren't even started to really make an effort to. One of the nice things about GDPR is that customers should not only be able to see witch data a company has on them, but also kan ask to either delete it, or move it to another company. Also companies should be able to tell which personnel information ends in witch systems, and especially what might go to other companies.
Weird moment for me: My wife just learned the word "concatenate" tonight - she has been a school teacher for writing, grammar, spelling, literature, etc. for 20 years. My college age sons don't recall coming across it before, either. I feel like it is as common as air, likely because of my programming background.
Not that one, either, but I suspect it isn't nearly as common among programmers as concatenate, either.
Any recent news on clojure(script) in relation to wasm? I could not find any easy way, in the meantime Kotlin seems to have a nice way to go to wasm. I want to play around a little and would slightly prefer to to it with Clojure.
@gklijs it's interesting to think about, but wasm offers little (if anything at all) to ClojureScript. Lisps (at least the fast ones) rely heavily on optimizing JITs and GCs, you give both of those up with wasm
@tbaldridge GC is coming to wasm, I don’t have any use case, but just want to play around with it.
having a GC would be nice, but without a good JIT we're still in the situation where there's little reason to port. Clojure functions tend to be small and very generic, these functions lend themselves quite well to inlining found in JS JITs.
So to answer your original question, no I'm not aware of any CLJS on wasm attempts, mostly because there's little benefit in performing the port, since the end result is access to the same (or really fewer) platforms that we have access to today.
That and I think few people have the desire to write their own GC and optimizing compiler.
> few people have the desire to write their own GC and optimizing compiler. the mind boggles
@tbaldridge are there any workloads you could imagine sending off to WASM from CLJS? Some super hot loop or something? Low latency?
sure, probably the same things you'd send to C on the JVM. Stuff were you need fine-grained access to memory, have statically typed code that needs to run fast, etc.
Right, and for that, you'd probably usually just compile the other thing and call it directly via postMessage from CLJS.
Yes, and the kotlin compiler already gives you some js to call the wasm. I’m thinking I may do something with a stic typed game state, and use wasm to calculate the next state, could be something witch mimics gravity or something, or some ai. In that case I could use kotlin for the wasm part, and use cljs for the rest.
I really doubt it will be very fast if they do. Remember, the JVM leans heavily on the JIT. Any mostly dynamic language (and the JVM is one of those) is going to need a really good JIT to get good performance on wasm, not to mention stuff like code patching.
at this point wasm is pretty slow. I don't know that I've seen any benchmarks that show wasm being faster than properly optimized js
Sounds great so if a restricted subset of JS with no GC or JIT runs 20% slower than a JS engine running a dynamic language. Why would I use wasm?
That's my biggest problem with the tech, it's cool for game companies who just want to get something working in the browser, but I haven't seen a compelling reason to switch normal code yet.
Maybe if they introduce threading or something. 20% perf penalty to get true shared memory threading would be pretty nice
in fact yeah I think there are some examples where asm.js is still preferable over wasm, for the time being
I thought this was pretty nifty: https://twitter.com/DasSurma/status/982275228956024832
@hubert I will probably ask her to tell me when she comes across a word for the first time now, to see what other words fall into this category of "my software development colleagues and I say it frequently, but many other people never encounter it" (not acronyms, which I expect, but English words that have existed for a long time like "concatenate"). Oh, and of course there is the fun quote: "In order to understand recursion, you must first understand recursion"
I wonder if "orthogonal" is one of those words... I'm an English major and I don't think I'd ever even seen that word before I started my programming career. It's pretty popular in software development, though, in my experience.
I also discovered the Google Ngram viewer, which is cool. Here is the frequency of the word "concatenate" in Google books since 1800: https://books.google.com/ngrams/graph?content=concatenate&year_start=1800&year_end=2000&corpus=15&smoothing=3&share=&direct_url=t1%3B%2Cconcatenate%3B%2Cc0
When learning English, I skewed towards historical texts and early fiction (I like gothic horror, don’t judge me). The result is I knew what a thurible was, but had no clue that the first school you go to is called “elementary” (negative points on a test, the injustice still hurts many years later XD )
The Google Ngram chart for the word "complect" suggests that Rich Hickey traveled back in time to the 1930s and wrote lots of books 🙂 https://books.google.com/ngrams/graph?content=complect&year_start=1800&year_end=2018&corpus=15&smoothing=3&share=&direct_url=t1%3B%2Ccomplect%3B%2Cc0