http VS uip

Compare http vs uip and see what are their differences.

http

A simple multi-threaded HTTP/1.0-ish file server. Single file, ~250 LOC. (by pablo-mayrgundter)

uip

The historical uIP sources (by adamdunkels)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
http uip
1 5
1 871
- -
0.0 0.0
about 3 years ago over 7 years ago
Java C
- -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

http

Posts with mentions or reviews of http. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-02.
  • An HTTP server in a single .c file
    12 projects | news.ycombinator.com | 2 Apr 2021
    My single file HTTP/1.0-ish java http server:

    https://github.com/pablo-mayrgundter/http

    I use it for most of my local dev. Handles only GET requests, serving files below the directory in which the server is started. Does Content-Type inference based on file extensions (e.g. html, js, png, jpg).

    Currently disables any type of cacheing as I use it mostly for local development and want to avoid versioning mistakes.

    Also has fledgling SSL support that has occasionally worked.

    > ./http_load -p 10 -f 100000 test.url

uip

Posts with mentions or reviews of uip. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-31.
  • Show HN: MicroTCP, a minimal TCP/IP stack
    3 projects | news.ycombinator.com | 31 Oct 2023
  • I need to create a UDP server using uIP library on LPC1768. could you please share a code example with me or lead me to write it myself? thank you so much
    2 projects | /r/embedded | 8 Jun 2022
    As the other commenter pointed out, uIP seems to be from 9 years ago. From the issues in the project, I found it is part of Contiki. Are you developing using Contiki?
  • Need help to use uIP library for running UDP on LPC1768
    1 project | /r/embedded | 3 Jun 2022
  • An HTTP server in a single .c file
    12 projects | news.ycombinator.com | 2 Apr 2021
    The CPU architecture is actually the least of your concerns there—I'm pretty sure qemu-user can run httpdito on ARM with less than an order of magnitude performance overhead. There are a lot of embedded systems where an HTTP transaction per second per MHz would be more than sufficient.

    The bigger problem is that the Raspberry Pico is a dual-core Cortex-M0+, which doesn't have an MMU, so it can't run Linux and especially can't handle fork(). But httpdito is basically scripting the Linux system call interface in assembly language—it needs to run on top of a filesystem, an implementation of multitasking that provides allocation of different memory to different tasks, and a TCP/IP stack. Any one of these is probably a larger amount of complexity than the 296 CPU instructions in httpdito.

    The smallest TCP/IP stack I know of is Adam Dunkels's uIP. Running `sloccount .` in uip/uip cloned from https://github.com/adamdunkels/uip gives a count of 2796 lines of source code ("generated using David A. Wheeler's 'SLOCCount'."). uIP can run successfully on systems with as little as 2KiB of RAM, as long as you have somewhere else to put the code, but for most uses lwIP is a better choice; it minimally needs 10KiB or so. uIP is part of Dunkels's Contiki, which includes a fairly full-featured web server and a somewhat less-full-featured browser. I think he got both the server and the browser to run in 16KiB of RAM on a Commodore PET, but not at the same time.

    (twIP http://dunkels.com/adam/twip.html is only 139 bytes of C source but doesn't support TCP or any physical-layer protocol such as Ethernet, PPP,or SLIP.)

    However, Adam Dunkels has also written Miniweb http://dunkels.com/adam/miniweb/, which implements HTTP and enough of TCP and IP to support it, in 400 lines of C. It needs at least 30 bytes of RAM. Like twIP, it doesn't provide a physical layer. But that's solvable.

  • uIP's network device driver (and Contiki's version of uIP)
    1 project | /r/embedded | 24 Feb 2021
    I am currently reviewing existing TCP/IP stacks for microcontrollers, and in particular uIP.

What are some alternatives?

When comparing http and uip you can also consider the following projects:

darkhttpd - When you need a web server in a hurry.