Hey guys,
I am playing around with factor again, and getting some useful work done.
I am trying to use factor embedded...
Unfortunately, the function init_factor_from_args that is mentioned in
the documentation is no longer in the source...
There is a new function: start_standalone_factor in
Any reason slices are not allowed to be passed to regexp words like
first-match ?
I tried modifiying the word:
: check-string ( string -- string )
! Make this configurable
! dup string? [ String required throw ] unless ;
dup dup string?
swap regexp? or [ String required throw ]
Oops, I had a typo, i was checking for regexp? instead of slice?
: check-string ( string -- string )
! Make this configurable
!dup string? [ String required throw ] unless ;
dup dup string?
swap slice? or [ String required throw ] unless ;
0 4 foo bar slice R/ foo/
Awesome. Thanks John.
For my specific project, the current weaker link is memory usage compared
to speed.
On Fri, Nov 30, 2012 at 8:03 PM, John Benediktsson mrj...@gmail.com wrote:
Probably the restrictions to strings were a performance optimization...?
It should be pretty easy to get the
smooth integration with non-Factor runtimes like the JVM or the CLR
Have a look at cat which runs on the CLR:
http://www.cat-language.com/intro.html .
--
Live Security Virtual Conference
Exclusive live event will
There's a library for making COM interfaces in
basis/windows/com/com.factor. It doesn't look like we have an
IDispatch interface, but you can make one. ...
Let me know if you have problems with the COM binding.
Thanks Doug. I think I have an idea on how to proceed. I will let you know
if I
If you look in help.stylesheet, there are styles used for various parts of
the help system. You can see font-family and font-sizes that are used.
Thanks, that works great.
--
Live Security Virtual Conference
Exclusive
What I couldn't figure out is how Factor programmers deal with
today's multicore processors.
For GPUs, have a look at the cuda bindings:
http://docs.factorcode.org/content/vocab-cuda.html
IMHO, best way to deal with multi-cores is with multiple processes instead
of threads.
Can always use