Java's System.arraycopy is the fastest you can get, since it delegates
execution to a function implemented in C inside JVM. Simply, this is the
fastest that your computer hardware can get. All in all Java arrays meet
the same difficulties and implications as C arrays and that is why
Considering the severity of the bug that i found, i want to ask if someone
is using Shoreleave's rpc without any problems? Maybe it's me missing
something? Or maybe someone run into the same problem too?
On Saturday, July 20, 2013 2:16:02 PM UTC+4, Alex Fowler wrote:
That wasn't hte case
Hi folks,
More core.async fun. Would love to hear comments, criticisms, etc.,
especially on how to better integrate core.async into this. Otherwise,
maybe it can be inspiration to someone else to do something grander.
Granted, it's pretty stupidly simple.
Thanks for sharing this! I'm in a similar mindset right now, working on a
cljs port of a JS WebSocket library (AutoBahnJS) for clj-wamphttp://cljwamp.us
.
Examples like these have been very helpful for getting up to speed on
ClojureScript and core.async.
Cheers,
~Christopher Martin
On Sunday,
Is there a way to create an array with the type of another array? (type
arr) returns the array type, but make-array wants the element type not the
array type, so
(make-array (type arr) n)
doesn't work as one might hope.
On Sunday, July 21, 2013 8:36:22 AM UTC-7, Alex Fowler wrote:
Java's
Hmmm, true about proxies.. as for hiphip - I did not use it yet, but I
thought that it may be useful for fast array operations, sorry confused the
posts :) I gonna try it sometime I think.. and I think that it has no
built-in matrix ops, but there was a library somewhere that did matrix ops..
Using getComponentType, it appears to be handling different primitive array
types ok:
(defn fconcat [ arrays]
(let [sizes (map count arrays)
sizes_r (vec (reductions + sizes))
offsets (cons 0 (drop-last sizes_r))
total (last sizes_r)
out (make-array
(make-array (.getComponentType (class arr)) n) seems to work.
On Sunday, July 21, 2013 12:22:41 PM UTC-7, Brian Craft wrote:
Is there a way to create an array with the type of another array? (type
arr) returns the array type, but make-array wants the element type not the
array type, so
Ooh. Ok, lemme check it out.
On Sat, Jul 20, 2013 at 10:34 PM, Chris Allen callen.2...@gmail.com wrote:
http://github.com/bitemyapp/neubite/
Could probably use a WYSIWYG editor, beyond that, pretty serviceable.
--
--
You received this message because you are subscribed to the Google
Cool, thanks.
On Sunday, July 21, 2013 12:59:16 PM UTC-7, Alex Fowler wrote:
Glad you've found it! :D
As an off-topic side-note: please, use no underscores in naming, use
hyphens instead, this is lisp's style... like sizes_r become sizes-r.
Many ppl will thank you later :)
On Sunday,
Il giorno domenica 21 luglio 2013 01:09:48 UTC+2, frye ha scritto:
Cool. I'm very open to any help you can offer. Right now, I'm working
through:
- if / how to attach assets (images, etc) to .rtf or .md file formats (see
Lately, a lot of people are moving away from dynamic blog engines like
Wordpress, and starting to use static blog generators like Jekyll.
You may want to consider this route instead. I'm sure a plugin system would
still be relevant and useful for a static blog generator.
-Steven
On Thu, Jul
The more I think about the static blog generator idea, the more I think
it's different enough to be a separate project.
But anyway, I already wrote this list of pros/cons to why I think static
blog generators are better, so might as well post it:
Pros:
- Runs anywhere you can host HTML, such
Glad you've found it! :D
As an off-topic side-note: please, use no underscores in naming, use
hyphens instead, this is lisp's style... like sizes_r become sizes-r.
Many ppl will thank you later :)
On Sunday, July 21, 2013 11:39:17 PM UTC+4, Brian Craft wrote:
Using getComponentType, it
Excellent, glad to hear it. And I'd love to hear more about how porting
AutobahnJS goes for you! Seems like a perfect application of core.async
on the client-side.
(2013/07/22 3:10), Christopher Martin wrote:
Thanks for sharing this! I'm in a similar mindset right now, working on
a cljs port
I'm a fan of static generators too, but one large con for a lot of people
is lack of commenting. Personally I like the article-with-no-comments
format, but it's not for everyone. You can use Disqus or similar, but it
has its own issues starting with the fact that you give all your data to
someone
On Jul 21, 2013, at 10:01 PM, Colin Fleming colin.mailingl...@gmail.com wrote:
I'm a fan of static generators too, but one large con for a lot of people is
lack of commenting. Personally I like the article-with-no-comments format,
but it's not for everyone. You can use Disqus or similar, but
17 matches
Mail list logo