Authentication-Results: mail-b.sr.ht; dkim=pass header.d=mxes.net header.i=@mxes.net Received: from smtp-out-4.mxes.net (smtp-out-4.mxes.net [198.205.123.69]) by mail-b.sr.ht (Postfix) with ESMTPS id A776A11EFF8 for <~sircmpwn/public-inbox@lists.sr.ht>; Wed, 24 Feb 2021 03:56:22 +0000 (UTC) Received: from Customer-MUA (mua.mxes.net [IPv6:fd::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4DlhtD4YpNz3cBr; Tue, 23 Feb 2021 22:56:20 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mxes.net; s=mta; t=1614138981; bh=3+ZN6sA0p53w9JVYv9MRXKnN2yf8S2EXyF14A+jFYQ0=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=s2AKwQq15M68T88n1yUnrDu5pCzQDMV7N1rkiwcO2Y77XkVv5zxfMdQLS1zpMHEZc zBXXPHKdcQOGCvaADqQqy1uW+t6iYijJeiQm6m7GCbhtr8Cr+AHQkmalD8G+kSxPOm z6r5gsBehiE+bEnHgB08aGXSQnG6vT3jripj7ES0= From: Timmy Douglas To: Amirouche Cc: ~sircmpwn/public-inbox@lists.sr.ht Subject: Re: electron alternatives: wayland-like widget toolkits/GUI frameworks In-Reply-To: <7f1dd619d56936818a7e466da3409b72@hyper.dev> References: <871rd7icvp.fsf@timmydouglas.com> <7f1dd619d56936818a7e466da3409b72@hyper.dev> Date: Tue, 23 Feb 2021 19:56:17 -0800 Message-ID: <87r1l6i0f2.fsf@timmydouglas.com> MIME-Version: 1.0 Content-Type: text/plain X-Sent-To: Amirouche writes: > On 2021-02-23 06:14, Timmy Douglas wrote: >> 1. Has anyone created a realistic alternative to HTML/CSS--maybe a >> binary DOM that has a reasonable API for manipulation? I supposed it'd >> also need some sort of rendering engine >> > > By DOM, you mean the HTML serialization or the tree-like structure that > is in memory? well it'd probably be both--you'd need some sort of serialization format (HTML today) to materialize the one you actually operate on. But if you were going to create a GUI toolkit around it, you probably wouldn't want to spend time parsing HTML unless you made that choice to reuse other code. > I think HTML/CSS even DOM API are nice, but it is a long way to get > there. > And not a lot of people have the time or energy to dive into > alternatives approaches. > > GUI without HTML/CSS is more powerful than what the browser can do. I > figured that while trying to build a text editor. If I was going to build a simple text editor, I think rendering the view with HTML/a couple of absolute-positioned preformatted divs would be easier than writing my own renderer on a canvas-like object, if that makes sense.