orms. I don't think
that would have to be any more difficult than it is now, though. A new
language would likely come with its own macro framework.
Andrzej
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send
27;m using LISP long enough to be
comfortable with its syntax). Is it worth implementing in an *existing*
language? Nah..., maybe in some DSLs.
Andrzej
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email
r (1)
producing a stream of s-expressions, which goes to evaluator...
(1) here should come the macro expander but I haven't finished it yet.
The code is on github:
https://github.com/andrzej-r/PScheme
Cheers,
Andrzej
--
You received this message because you are subscribed to the Google
G
On Tue, Jan 25, 2011 at 12:52 AM, Andrzej wrote:
> On Mon, Jan 24, 2011 at 5:50 PM, dennis wrote:
>> Hi,
>> Yes,i have seen the rscheme.
>>
>> cscheme is just an exercise,it is not practical at all.
>
> So was rscheme. :-) In many respects your implementa
On Mon, Jan 24, 2011 at 5:50 PM, dennis wrote:
> Hi,
> Yes,i have seen the rscheme.
>
> cscheme is just an exercise,it is not practical at all.
So was rscheme. :-) In many respects your implementation is more
complete than mine.
Cheers,
Andrzej
--
You received this message bec
like.
Cheers,
Andrzej
On Mon, Jan 24, 2011 at 11:45 AM, dennis wrote:
> I have implemented a simple interpreter in clojure,it is just
> transformed from the interpreter in SICP.Maybe someone interested in
> it.
>
> I have pushed it on github at
> https://github.com/killme2008/c
at all when you happen to
use other numbers.
What I'd rather like to have is an array of N preallocated objects
waiting to be assigned values and used. This way an allocation cycle
could be triggered every N Integer constructor calls and all boxes
used in a single procedure would be gathered
ers in a cache,
- using both boxed and primitive math but keeping the boundary between
them as explicit as possible (different operators, no automatic
conversion etc.). Existing operators should default to boxed math (for
runtime safety and compatibility).
Andrzej
--
You received this message bec
ng else fails use a trampoline
http://groups.google.com/group/clojure/browse_frm/thread/6257cbc4454bcb85/7d5fd827cd549080#7d5fd827cd549080
Cheers,
Andrzej
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegr
ls under OLAP
but I've never really bothered learning about it.
Thanks for your work,
-Andrzej
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members
d be plugged into numeric tower:
- vectors/matrices
- symbolic expressions
Maybe instead of hardwiring all these types, we should provide a
mechanism for overloading math operators? I guess multimethods would
be too slow and I have no experience with defrecord/... to predict
robustness of this solu
rds). What do you think about it?
Andrzej
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
first post.
on in Perl).
Can you tell me more about these hooks to Clojure STM and Cells?
Thanks,
Andrzej
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are
ield and use
it in other operations.
Another thing is tying such a database to some on-disk storage. Is
there any database backend that doesn't internally mutate data? Even
if not, such a data type could still be useful as a read-only view for
other databases.
Andrzej
On Wed, May 26, 2010 at
57456467474
Cheers,
Andrzej
On Fri, Mar 26, 2010 at 11:35 AM, Lee Spector wrote:
>
> I'm trying to track down the reason that I sometimes see a lot of concurrency
> in my system (up to 1200% CPU utilization on a dual quadcore mac that also
> has some kind of hyperthreading, allegedl
ompare against the patch I submitted today? Are they
functionally equivalent as far as the vector decomposition part is
concerned?
-Andrzej
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googleg
and can independently respond to mouse clicks.
http://www.piccolo2d.org/
-Andrzej
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - pl
ch is not that surprising, taking into account the size
of chunks and tasks:
user=> (dotimes [_ 5] (time (sum_tree5 l3)))
"Elapsed time: 962.212255 msecs"
"Elapsed time: 956.484688 msecs"
"Elapsed time: 967.799812 msecs"
"Elapsed time: 947.298315 msecs"
&qu
n be applied for modeling systems based on
STM (in Clojure's flavor). I've only seen them used in common
lock-based designs (not that it means anything - I barely touched the
surface).
Andrzej
--
You received this message because you are subscribed to the Google
Groups "Clojure&qu
ly large sequential chunks or heavy
enough computations but I'm still aiming at optimizing a general
case).
Andrzej
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts fro
de - a root). So
I'm not sure whether this would give any net performance gain, perhaps
not.
Andrzej
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new mem
it) but ultimately it
might be better to let the user or a system administrator decide about
it.
> Oh, one more thing. The presentation by Guy Steele at ICFP 2009,
> "Organizing Functional Code for Parallel Execution; or, foldl and
> foldr Considered Slightly Harmful", is inter
FT to an FFT? In
> this case, is there any theoretical reason the algorithm does less
> work? Are you making a time/memory trade off?
No, although balancing the operations could potentially help with some
second order effects (e.g. numerical errors).
Thanks,
Andrzej
--
You received this messag
ral overhead.
As for (1), how to split the collection so that no data copying is
required and resulting subvectors are more or less balanced? Or, how
to query the underlying data structure whether, or where, such a
"convenient" position exists?
Andrzej
--
You received this message becau
il. This would require us to do the
calculations symbolically. Can Clojure help here somehow? What would
be a minimal CAS framework in Clojure?
-Andrzej
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email t
he GC).
Clojure exercises GC quite a lot but it does that in a somewhat
predictable manner (uses a lot of linked data structures). In
contrast, standard GC's are tuned for managing a smaller number of
irregular and relatively independent objects. Maybe writing a custom
GC is not that bad idea
26 matches
Mail list logo