From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18014 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Why cmark is written in C? Date: Sun, 6 Aug 2017 08:37:38 -0700 Message-ID: <20170806153738.GC78163@Johns-MBP> References: <89ae88db-f9be-499c-b743-fe2d2cbc5ee7@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed X-Trace: blaine.gmane.org 1502034352 456 195.159.176.226 (6 Aug 2017 15:45:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 6 Aug 2017 15:45:52 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBT7PTTGAKGQEK5LJBTQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Aug 06 17:45:44 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ua0-f189.google.com ([209.85.217.189]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deNkL-00080i-OA for gtp-pandoc-discuss@m.gmane.org; Sun, 06 Aug 2017 17:45:41 +0200 Original-Received: by mail-ua0-f189.google.com with SMTP id n25sf3396723uai.2 for ; Sun, 06 Aug 2017 08:45:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1502034347; cv=pass; d=google.com; s=arc-20160816; b=kRFOjEYvFzLBVhMcncyhMoxDQyF76Y3hm9mzQq2Ps+CNo6CkzuB7a3QhLBYLwAIRDy x6JSVzzlBDXq86KLN7jdxq2IbvYaE89j7JsNEhuTFCBj/G2HQitb2zFHPU5y4RhMRTpD X+zRk7J1EVPCCZNd5y9FoEvYue1MN2sDjyz3p7HXGva3QhwJutB2o2ax2u2usEPHWTlh /yVIaFacXD/JicivH0fFoDAEqng7fTnT0QbiHD8QkqCMKydIf/pc0JoRIiAOE3cls/Nf cm/4dIPAzprLK/8mWj8WqlmE+GNTBxJlrFWgP4Vnac5CapvTpuWkbyyTAbPSBkE1IpWH uqUg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :date:from:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=CfKJAqlcm/yQh+SxZ5q1vEa0VI/6k2eNSRrS+g6CX/g=; b=AtuqEyif6RgMLhzE+7CV2J25leJ4pthLs+6w/zAWex0n2GfvJdgH9oVT89MWbgQMQl MQp6y+VNmmfPQo0847lDD0mfwZ1axOa4zldgphdiO5X3T5Hzi52DjrO6Vt2KgB2gbjo3 hwCxyIiGYTKqKWBguTXh0tyLN9GX2kzh4KtUW9XqLxY4MNHjABvrEKEpyXmfHHhSDj2W Kc8FeXj7vdxjINX/f+R2UmfXCqk4NtpvkEAYpnSeXhZ6veS8Cqm8tsp3RLaqfYK59mcp v0+pLNcAmspmO4hk+2TQ5+j5JTw70vNUGlO+o2nQRfDAYwm+J4UIX7dss99O5p5nV4/u ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.b=MdS8Sxs8; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::244 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=CfKJAqlcm/yQh+SxZ5q1vEa0VI/6k2eNSRrS+g6CX/g=; b=ovdzPvYJa49HXsH1WEgdiRbwZvYoWi8GPLsmHfFs+ASLbx4BfngJZYE44fzBVITJnG AybxIMex9xSvKbWpuLjrCKNOmqRbk9yKvBsc+YlVyKmXU5Ijq9xUhTix98ce5Ba/DSrR 8o99LtqhyIUvMJyva8kppSEmLFwLItSlpETX+CET6ff/m/a593PMsSLTmwlmVfLUGJGe SAqCGcsbAt/ltSdTmSQ0SC/VWA9Q1J3qjaxtGaNbi1ckxOibznkg5R6aqqPyHnSix+Uj hu6Jjky7Ovc+cYcKRB2/Nif6vrqAh8ff6e/0gsZca41/cgfbe7CYIGLsEPOluQ+/noKM 5jxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=CfKJAqlcm/yQh+SxZ5q1vEa0VI/6k2eNSRrS+g6CX/g=; b=dCsfZDYL7+2GCpm93ytWvMG6cB+08S4e2B+ck9AraBFubMw3rVtT/74tEYIGSJUosx aGbug7uzXhYi4kKuwPuNUfykItRw9M+jjbVLPSXwHlESnnyApYc7gTlzn22Lk/KB/euK ogTmA34cvWnk2lhiuwUdmwojgA47nP1nRdPQu/CLgKCN5oo/5SWTG3pviAhKg1fCMoze Wm0MyGV/0ZjeGlDeHPw3LlY3gOJMYWmXc2CsukJoqVd0o3fTqMtKFTUzrGLnMwXh958Q iDQlEJRc5zUBjj0RchYr0MG2g7t4HstMMrhFhv8eFpY/PMCVzZ3gPqrs2EKUgCDxKSsH Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AIVw113/utnBqooMXS/CcmnlibTVe3ctbbyIvPg2PA4yu34Y9enU480z 8gqiSN/u5bIwlQ== X-Received: by 10.36.53.73 with SMTP id k70mr137325ita.0.1502033871703; Sun, 06 Aug 2017 08:37:51 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.136.24 with SMTP id k24ls5820413iod.50.gmail; Sun, 06 Aug 2017 08:37:50 -0700 (PDT) X-Received: by 10.99.140.93 with SMTP id q29mr6235993pgn.156.1502033870917; Sun, 06 Aug 2017 08:37:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502033870; cv=none; d=google.com; s=arc-20160816; b=y97+em3WQEscvm8AqAXxYBSSARgjGijKPlj3EN7oyCCmrFSIF88KRvEUA5mr3Kqt1q TVRSC1GV9LofNaC6sN1NtWdP/85zHZazAcDb5e70dGPQn3/Wz6Kq7+205y9xsF0gP7cn JIPdK8P1kBbJuewAAxQVkUf3Datq/YuKKs/ZVvt5S8qaxP1CTmVfQb010lc+SDOpZA/j veBszAIVx23AEszaTGDf9IxIvPUNnBOFaRSsShi/6uGaUtTCZxOPaA++7okiln5vzqPB Ql78KleZNLhieKknXKxj1Dn5+u7z2tc2P6Aet+e8qerISrPUr8cUSPwWEttNtG/flutW Z+jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:to:date:from:dkim-signature :arc-authentication-results; bh=ZHU76QEP5foCkWpE3ay48PlpyjqPWctOkFSCNcPBAZw=; b=xAa1bWEBnjODIv8+h6C1mSe0eHrK0znfi0S/4ueI/RvRt8URGhDdn78u+wsypdjmY1 z8oMp/yD9zwrvL28nSvdILtOke3nowdzECjgPLa7P+KWc56VoNtH/18DykUX7+FrDj2O sSAGFXn2Vbdz1IJ5wgEOqKXeaF4URIq1DF1Cz544LOsPpeqy0sMQ0ltn8HFgILWq/RdQ g0Fyoatu44gRGgOA7zAlKBh9lQsGa/iPxw4U+QZf07kQhG+kVaq0kD+iqmwS042r7x69 2EAq2ReTJLfFF+gCcASkv7FmUn7V+NxIWze8wOW535hY/aZqmDmop+u77E426E7/hJdP CVgQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.b=MdS8Sxs8; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::244 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com. [2607:f8b0:400e:c00::244]) by gmr-mx.google.com with ESMTPS id z83si917728pfd.17.2017.08.06.08.37.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 Aug 2017 08:37:50 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::244 as permitted sender) client-ip=2607:f8b0:400e:c00::244; Original-Received: by mail-pf0-x244.google.com with SMTP id h75so6706047pfh.5 for ; Sun, 06 Aug 2017 08:37:50 -0700 (PDT) X-Received: by 10.99.120.68 with SMTP id t65mr9197458pgc.104.1502033870461; Sun, 06 Aug 2017 08:37:50 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id n12sm12118679pfa.148.2017.08.06.08.37.49 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 06 Aug 2017 08:37:49 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 6CDF9A1C5; Sun, 6 Aug 2017 11:37:38 -0400 (EDT) Content-Disposition: inline In-Reply-To: <89ae88db-f9be-499c-b743-fe2d2cbc5ee7-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.b=MdS8Sxs8; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::244 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:18014 Archived-At: 1. Speed. 2. Portability (easy to create bindings to a C library in any other language). 3. The current parsing algorithm is imperative in style; the C library gives a model that can easily be copied in other imperative languages. +++ Kolen Cheung [Aug 05 17 21:33 ]: >Hi, I'm just curious. Why cmark is written in C instead of Haskell? > >(A longer but more accurate question should be why write it in C and provide a Haskell binding and not the other way around?) > >-- >You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. >To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/89ae88db-f9be-499c-b743-fe2d2cbc5ee7%40googlegroups.com. >For more options, visit https://groups.google.com/d/optout.