Arc Forumnew | comments | leaders | submit | chris_l's commentslogin
1 point by chris_l 5246 days ago | link | parent | on: Language-neutral news.arc

I don't think the cost of dynamic lookup will be very high, at least in news.arc there isn't that much text. I intend to use a function that looks into a table:

(prn (i18n 117))

I think numbers over pseudo-text-symbols will fit with arc's keep-it-brief style.

-----

3 points by garply 5245 days ago | link

I don't like the numeric setup - I find it makes the code hard to read. Most of the other i18n libs I've seen use English in the code and then a mapping between English and other languages in a separate file. I think that approach makes more sense. When I'm skimming code, I'd rather read (i18n "Add Comment") than (i18n 143).

-----

3 points by chris_l 5793 days ago | link | parent | on: Call graph for news.arc [pdf]

I've now expanded my work to graphing at the s-expression level of an Arc function. Post: http://electronreactor.wordpress.com/2009/02/11/graphing-arb... Graph: http://electronreactor.files.wordpress.com/2009/02/controlda...

-----

1 point by chris_l 5799 days ago | link | parent | on: Call graph for news.arc [pdf]

Thanks for the hint, I've now got a simple version where it takes the who-called-who from recording invocations. I'm currently working on sample call data, but profiling would also be interesting.

-----

5 points by chris_l 5800 days ago | link | parent | on: Call graph for news.arc [pdf]

For a more readable version, here I have only plotted what comes below a single newsop (news): http://electronreactor.files.wordpress.com/2009/02/news2.png

-----

2 points by jonnytran 5798 days ago | link

Thank you for making this reduced graph. I'm all for visualization, but the full call graph seemed to show nothing except how useless a full call graph is.

-----

1 point by chris_l 5798 days ago | link

Yeah, that dawned on me after posting it... :)

-----

1 point by chris_l 5800 days ago | link | parent | on: Call graph for news.arc [pdf]

Accompanying post: http://electronreactor.wordpress.com/2009/02/04/call-graph-n...

-----

3 points by CatDancer 5800 days ago | link

The correct URL appears to be http://electronreactor.wordpress.com/2009/02/04/call-graph-n...

-----

1 point by chris_l 6001 days ago | link | parent | on: Arc Code Jam

So I did the first round using Arc now, worked quite well apart from me not being used to the language that well. Might switch to CL for the rounds where time is crucial, as that has better Emacs integration.

-----


Thanks, that's just what I was looking for!

-----