Jim Huang

Results 453 comments of Jim Huang
trafficstars

Close as it was involved with unintended complexity during integration.

@DrXiao, please see if #226 works for Debian GNU/Linux running [beaglebone black](https://www.beagleboard.org/boards/beaglebone-black).

> It is unexpected that `improve-alloc` (#226) doesn't explicitly reduce the memory usage, and it seems that a commit between 4be720b94cb1df3c50a4b55845792ccca05f1a63 and 1fb9fa54b5b75c3bda56404d7becaaab2556b13e has implicitly contributed to the reduction. I...

@DrXiao, You can make use of [GitHub Action for Continuous Benchmarking](https://github.com/benchmark-action/github-action-benchmark), so that we can track the elapsed time and memory usage for each commit as [rv32emu does](https://sysprog21.github.io/rv32emu-bench/).

> After fixing the type array allocation issue, the updated [#226](https://github.com/sysprog21/shecc/pull/226) now successfully complete the build on my beaglebone black. I have narrowed the scope of #226 to harden malloc...

Phase 1 is the "SSA form phase" which includes: 1. SSA Construction (`ssa_build()`) 2. SSA-based Optimization (`optimize()`) 3. SSA-based Liveness Analysis (`liveness_analysis()`) All these operations work on the SSA form...

Can you check CR LF, LF and CR line break characters?

> Yes, this is caused by setting of git which defaults line break characters to CR LF. > Maybe we can attempt to detect files' line break character and give...

[linenoise-mob](https://github.com/snej/linenoise-mob) is a fork for UTF-8 support.

> the pre-commit.hook would stop us from committing since sprintf is detected to be a dangerous function. You can send another pull request which limits the detection of `sprintf` only...