Hi, Really interesting work. I wonder if something similar could be done to bridge simdjson[1] with Pharo/NeoJSON (and maybe a fast binary objects serializer) to read huge JSON streams and files in seconds. [1] https://github.com/lemire/simdjson Thanks for this work :-), Offray On 1/01/20 4:40 a. m., Pierce Ng wrote:
Hi all,
I've published Phoedown, an FFI to hoedown, the standards compliant, fast, secure Markdown processing library written in C.
- https://github.com/PierceNg/Phoedown - https://github.com/hoedown/hoedown
A simple example:
| md | md := (FileSystem memory / 'somefile.md') writeStreamDo: [ :ws | ws nextPutAll: ' ```smalltalk Transcript show: ''Happy New Year!''; cr ``` ' ]; contents. HdHtmlRenderer new setMarkdownExtension: HdMarkdownExtensions FencedCode; setMarkdownExtension: HdMarkdownExtensions NoIntraEmphasis; render: md
This is the output:
<pre><code class="language-smalltalk">Transcript show: 'Happy New Year!'; cr </code></pre>
Pierce