Comments (4)
Another similar problem is also found when compiling:
-[+ >>>.><-[--<]-->.+.--],[><--[.]-]- [] >>- <-,>,
it shows the warning but the compilation is not stopping.
from bfc.
This looks like an issue where we aggressively unroll the loop due to compile-time evaluation, send a huge amount of IR to LLVM, and then it spends ages trying to optimise the IR.
I've added an undocumented BFC_MAX_STEPS which limits the execution steps and thus the LLVM IR size. Nonetheless, execution steps are still fast, it's the IR munging afterwards that's taking the time.
Possibly related: #26.
from bfc.
Since the issue is addressed by the owner. I will close this thread.
from bfc.
I think this a genuine bug worth fixing, so I'm going to reopen this :)
from bfc.
Related Issues (20)
- Beautiful Project! HOT 1
- Add REPL
- Max cell index HOT 1
- Missing License HOT 1
- Warnings sent to stdout
- Can this become a library on crates.io? HOT 3
- strip behave different for linux and mac
- Possible additions HOT 1
- Linker fails HOT 3
- Compilation time is exponential wrt. source size HOT 3
- "Pass is not initialized" on LLVM 8 HOT 10
- cannot use `state` because it was mutably borrowed
- error: linking with `cc` failed: exit code: 1 HOT 5
- cargo build --release returns errors E0503 and E0592 (cannot use `state` because it was mutably borrowed) HOT 13
- Take in inputs on multiple lines
- Add license
- Core dump in LLVMBuildCall HOT 2
- Soundness issue in annotate_known_zero
- Mangled output of ANSI escape sequences in v1.11.0 and master branch HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bfc.