kiUi

Languages and libraries

ui toolkit library

SHOW HN2015

136points
39comments
#159of 2,565 in 2015
Top 7%of 2015 by points

How HN took it

MixedNo clear lean

5 positive, 8 neutral or asking, 0 mixed, 9 critical, out of 22 comments about the project. Thread score -0.12.

Idea: 2 for, 2 againstExecution: 0 for, 4 againstPerformance: 1 for, 2 againstDesign: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Performance-focused design and small dependencies appreciated

    From 2 comments
    • This is wonderful. Thank you for building this. Your emphasis on modern C++ and small dependencies is especially appreciated, especially in a world where an Emscripten bundle…
      statico on HN
    • statico: you can load a different TTF with ImGui, it doesn't have to be monospaced and they can be smooth. The perf differences are due to designing the library with performances…
      ocornut on HN
  • Interesting alternative to HTML/CSS UI layers

    From 2 comments
    • I think it's funny how many xml based UI frameworks have been made over the years that are better composed better than html with more strict rules and consistency that are…
      tracker1 on HN
    • I agree, embedding a browser doesn't seem lightweight at all. What it does give, however, is a common and comprehensive framework for laying out and styling your UI elements.…
      marti on HN

Objections

  • Slow per-frame cost (8-9ms) in the Emscripten demo

    From 1 comment
    • Gotcha. I ask because, on my machine, kiUi takes 8-9ms every frame regardless of what I'm doing (e.g., typing, dragging windows, resizing things). If I'm trying to maintain 60…
      statico on HN
  • Input and scrolling bugs, including inverted natural scrolling

    From 2 comments
    • two issues: 1. it doesn't accept asian language inputs. 2. the scrolling direction doesn't respect my system settings. (I have unchecked natural scrolling direction on my mac)
      billconan on HN
    • Still wrong. The scrolling direction is the opposite of your system settings. I have my mac set to "natural" scrolling and for me the demo scrolls conventionally.
      fastball on HN
  • Crashes Chrome and does not accept Asian language input

    From 2 comments
    • Crashed my chrome :D
      theikkila on HN
    • two issues: 1. it doesn't accept asian language inputs. 2. the scrolling direction doesn't respect my system settings. (I have unchecked natural scrolling direction on my mac)
      billconan on HN

Requests

  • Support natural scrolling and system scroll settings

    From 2 comments
    • It seems to be hardcoded natural scrolling - I'm getting it on a Windows desktop with a mouse wheel.
      mcintyre1994 on HN
    • Still wrong. The scrolling direction is the opposite of your system settings. I have my mac set to "natural" scrolling and for me the demo scrolls conventionally.
      fastball on HN
  • Clarify license, MIT on site vs zlib on GitHub

    From 1 comment
    • The webpage says that it's MIT licensed, but the GitHub page says that it's zlib licensed. Which is it?
      yellowapple on HN
  • A lighter version with fewer widgets

    From 2 comments
    • I would love to see/experiment with light version of this.
      iyn on HN
    • If you want to strip it down, you can start by not compiling all the widgets you don't need as there are quite a lot of them. The renderer (glfw, NanoVG) takes about half of the…
      hugoamnov on HN

Questions

  • What is rendering performance when updating many text fields or images per frame?

    From 1 comment
    • This is wonderful. Thank you for building this. Your emphasis on modern C++ and small dependencies is especially appreciated, especially in a world where an Emscripten bundle…
      statico on HN
  • Why build a custom UI instead of XML, Qt, GTK, or an embedded browser?

    From 2 comments
    • I think it's funny how many xml based UI frameworks have been made over the years that are better composed better than html with more strict rules and consistency that are…
      tracker1 on HN
    • Many game developers seem to build their own UI libraries from scratch. Wouldn't it make sense to use Chromium Embedded Framework[0] or Awesomium[1] instead? I haven't used them…
      marti on HN

Alternatives named

  • Dear ImGui

    From 2 comments
    • How about IMGUI? https://github.com/ocornut/imgui
      greggman on HN
    • Gotcha. I ask because, on my machine, kiUi takes 8-9ms every frame regardless of what I'm doing (e.g., typing, dragging windows, resizing things). If I'm trying to maintain 60…
      statico on HN
  • Embedded browser (CEF, Awesomium, Coherent)

    From 2 comments
    • Many game developers seem to build their own UI libraries from scratch. Wouldn't it make sense to use Chromium Embedded Framework[0] or Awesomium[1] instead? I haven't used them…
      marti on HN
    • Or HTML. http://coherent-labs.com/
      statico on HN
  • Scaleform (Flash)

    From 1 comment
    • AAA studios use Flash. http://gameware.autodesk.com/scaleform
      pjmlp on HN
  • libRocket

    From 1 comment
    • Gotcha. I ask because, on my machine, kiUi takes 8-9ms every frame regardless of what I'm doing (e.g., typing, dragging windows, resizing things). If I'm trying to maintain 60…
      statico on HN
  • XAML, Flex, Qt, GTK

    From 1 comment
    • I think it's funny how many xml based UI frameworks have been made over the years that are better composed better than html with more strict rules and consistency that are…
      tracker1 on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/9498874)